Remove events causing errors on touch-screen devices.
Fix for case #5226
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user