mirror of
https://github.com/google/blockly.git
synced 2026-02-01 05:00:11 +01:00
Fix angle field.
This commit is contained in:
@@ -205,7 +205,7 @@ Blockly.FieldAngle.prototype.onMouseMove = function(e) {
|
||||
angle = Math.round(angle / Blockly.FieldAngle.ROUND) *
|
||||
Blockly.FieldAngle.ROUND;
|
||||
}
|
||||
angle = Blockly.FieldAngle.angleValidator(angle);
|
||||
angle = Blockly.FieldAngle.classValidator(angle);
|
||||
Blockly.FieldTextInput.htmlInput_.value = angle;
|
||||
this.setValue(angle);
|
||||
this.validate_();
|
||||
|
||||
Reference in New Issue
Block a user