Skip to content

Commit

Permalink
merge develop
Browse files Browse the repository at this point in the history
  • Loading branch information
chanlee committed Jul 13, 2016
2 parents 470affe + 1396d02 commit 581e9df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -16808,7 +16808,7 @@ Entry.Utils.inherit(Entry.Field, Entry.FieldAngle);
};
b.applyValue = function() {
var a = this.optionGroup.val();
isNaN(a) || (a = this.modValue(a), this.setValue(a), this.updateGraph(), this.textElement.textContent = this.getValue(), this.optionGroup && this.optionGroup.val(a), this.resize());
isNaN(a) || "" === a || (a = this.modValue(a), this.setValue(a), this.updateGraph(), this.textElement.textContent = this.getValue(), this.optionGroup && this.optionGroup.val(a), this.resize());
};
b.resize = function() {
var a = this.getTextWidth();
Expand Down
4 changes: 2 additions & 2 deletions dist/entry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/workspace/field/angle.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Entry.Utils.inherit(Entry.Field, Entry.FieldAngle);

p.applyValue = function() {
var value = this.optionGroup.val();
if (isNaN(value)) return;
if (isNaN(value) || value === '') return;
value = this.modValue(value);
this.setValue(value);
this.updateGraph();
Expand Down

0 comments on commit 581e9df

Please sign in to comment.