mirror of https://github.com/axmolengine/axmol.git
Merge pull request #14765 from liamcindy/v3_ui_js
update for js uiTextAtlasTest
This commit is contained in:
commit
fa172b9da9
|
@ -1 +1 @@
|
|||
Subproject commit e82bd71212e53e016bf5f262f8e4bc1c50b54203
|
||||
Subproject commit bf3539cccfbeaa32e143fa07c73e4d1d715ab424
|
|
@ -31,6 +31,9 @@ var UITextAtlasEditorTest = UIBaseLayer.extend({
|
|||
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UILabelAtlas/labelatlas_1.json");
|
||||
|
||||
this._mainNode.addChild(root);
|
||||
|
||||
var label =ccui.helper.seekWidgetByName(root, "LabelAtlas_961");
|
||||
label.setString("0123456");
|
||||
|
||||
var back_label =ccui.helper.seekWidgetByName(root, "back");
|
||||
back_label.addTouchEventListener(this.backEvent,this);
|
||||
|
|
Loading…
Reference in New Issue