Skip to content

Commit

Permalink
fix: fix dragging by digitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
xnv committed Nov 22, 2023
1 parent 182cd82 commit 05c2a29
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 2.8.4
* ペンタブレットによるドラッグ時、意図しない操作が起きる問題を修正

## 2.8.3
* `MouseTouchEventHandler` において `button` の値が一部 `PointerEventHandler` と異なってしまう問題を修正

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akashic/pdi-browser",
"version": "2.8.3",
"version": "2.8.4",
"description": "An akashic-pdi implementation for Web browsers",
"main": "index.js",
"typings": "lib/full/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/InputHandlerLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class InputHandlerLayer {

private _createInputView(width: number, height: number): HTMLDivElement {
const view = document.createElement("div");
view.setAttribute("style", "display:inline-block; outline:none;");
view.setAttribute("style", "display:inline-block; outline:none; touch-action:none");
view.style.width = width + "px";
view.style.height = height + "px";
view.setAttribute("tabindex", "0");
Expand Down

0 comments on commit 05c2a29

Please sign in to comment.