Remove events causing errors on touch-screen devices.

Fix for case #5226
This commit is contained in:
James Cheese
2018-09-24 09:23:49 +01:00
parent 49ee4bbd1c
commit 9c5227850f
2 changed files with 4 additions and 6 deletions

View File

@@ -243,10 +243,8 @@ class ZoomSlider extends Control {
const end = this.handleDraggerEnd_;
this.dragListenerKeys_.push(
listen(document, EventType.MOUSEMOVE, drag, this),
listen(document, EventType.TOUCHMOVE, drag, this),
listen(document, PointerEventType.POINTERMOVE, drag, this),
listen(document, EventType.MOUSEUP, end, this),
listen(document, EventType.TOUCHEND, end, this),
listen(document, PointerEventType.POINTERUP, end, this)
);
}