mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-10-09 19:05:24 +00:00
[engine] [cocos2d-x] [jsb-adapter] 适配引擎 v2.4.12 版本
This commit is contained in:
@@ -25,8 +25,8 @@ export default class NativeTTF {
|
||||
this._cfg = new DataView(this._layout._cfg);
|
||||
this._layoutInfo = new DataView(this._layout._layout);
|
||||
|
||||
this._cfgFields = jsb.LabelRenderer._cfgFields;
|
||||
this._layoutFields = jsb.LabelRenderer._layoutFields;
|
||||
this._cfgFields = "string" == typeof jsb.LabelRenderer._cfgFields ? JSON.parse(jsb.LabelRenderer._cfgFields) : jsb.LabelRenderer._cfgFields;
|
||||
this._layoutFields = "string" == typeof jsb.LabelRenderer._layoutFields ? JSON.parse(jsb.LabelRenderer._layoutFields) : jsb.LabelRenderer._layoutFields;
|
||||
this._layout.bindNodeProxy(comp.node._proxy);
|
||||
this._bindMaterial(comp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user