mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Fix angle picker with new touch code
This commit is contained in:
@@ -168,11 +168,11 @@ Blockly.FieldAngle.prototype.showEditor_ = function() {
|
||||
}
|
||||
svg.style.marginLeft = (15 - Blockly.FieldAngle.RADIUS) + 'px';
|
||||
this.clickWrapper_ =
|
||||
Blockly.bindEventWithChecks_(svg, 'click', this, Blockly.WidgetDiv.hide);
|
||||
Blockly.bindEvent_(svg, 'click', this, Blockly.WidgetDiv.hide);
|
||||
this.moveWrapper1_ =
|
||||
Blockly.bindEventWithChecks_(circle, 'mousemove', this, this.onMouseMove);
|
||||
Blockly.bindEvent_(circle, 'mousemove', this, this.onMouseMove);
|
||||
this.moveWrapper2_ =
|
||||
Blockly.bindEventWithChecks_(this.gauge_, 'mousemove', this,
|
||||
Blockly.bindEvent_(this.gauge_, 'mousemove', this,
|
||||
this.onMouseMove);
|
||||
this.updateGraph_();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user