mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
Don't handle a touch gesture event if the gesture has been cancelled.
This commit is contained in:
@@ -110,7 +110,7 @@ Blockly.TouchGesture.ZOOM_OUT_MULTIPLIER = 6;
|
||||
*/
|
||||
Blockly.TouchGesture.prototype.doStart = function(e) {
|
||||
Blockly.TouchGesture.superClass_.doStart.call(this, e);
|
||||
if (Blockly.Touch.isTouchEvent(e)) {
|
||||
if (!this.isEnding_ && Blockly.Touch.isTouchEvent(e)) {
|
||||
this.handleTouchStart(e);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user