Skip to content

Commit

Permalink
fix: Fix bug when Text.text has no default value
Browse files Browse the repository at this point in the history
  • Loading branch information
06wj committed Oct 24, 2018
1 parent f8f2887 commit 83d87d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var Text = Class.create(/** @lends Text.prototype */{
this._fontHeight = Text.measureFontHeight(this.font);
},

text: null,
text: '',
color: '#000',
textAlign: null,
textVAlign: null,
Expand Down

0 comments on commit 83d87d6

Please sign in to comment.