fix editbox show multi labels when editing (#3015)

This commit is contained in:
PP
2018-07-25 12:54:32 +08:00
committed by pandamicro
parent 4304b8dacb
commit 751b36cf1e
+3 -1
View File
@@ -482,7 +482,9 @@ let EditBox = cc.Class({
textLabel.string = displayText;
this._impl.setString(text);
this._showLabels();
if (!this._impl._editing) {
this._showLabels();
}
},
_updateLabelStringStyle (text, ignorePassword) {