mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
fix editbox show multi labels when editing (#3015)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user