test
This commit is contained in:
parent
daca11cbd4
commit
e7f2d928fe
@ -194,9 +194,12 @@ export class ViewCanvas {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this._wrapper.addEventListener('touchend', (ev: TouchEvent) => {
|
this._wrapper.addEventListener('touchend', (ev: TouchEvent) => {
|
||||||
this._dragging = false;
|
|
||||||
this._pinching = false;
|
this._pinching = false;
|
||||||
this._previousPinchLength = 0;
|
this._previousPinchLength = 0;
|
||||||
|
|
||||||
|
if (!ev.touches?.length) {
|
||||||
|
this._dragging = false;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this._wrapper.addEventListener('pointerleave', (ev: MouseEvent) => {
|
this._wrapper.addEventListener('pointerleave', (ev: MouseEvent) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user