test fix 2
This commit is contained in:
parent
b854218789
commit
46597169c5
@ -169,7 +169,7 @@ export class ViewCanvas {
|
|||||||
this._dragging = false;
|
this._dragging = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
this._wrapper.addEventListener('touchstart', (ev: TouchEvent) => {
|
this._container.addEventListener('touchstart', (ev: TouchEvent) => {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
const touch = ev.touches[0] || ev.changedTouches[0];
|
const touch = ev.touches[0] || ev.changedTouches[0];
|
||||||
this._mousex = touch.pageX;
|
this._mousex = touch.pageX;
|
||||||
|
Loading…
Reference in New Issue
Block a user