Fix angle field.

This commit is contained in:
Neil Fraser
2016-07-13 16:58:43 -07:00
parent f12c95f4a9
commit 7a92facc3a

View File

@@ -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_();