Commit cae18259 authored by 杨一航's avatar 杨一航

fix

parent 5dac9cad
......@@ -6338,7 +6338,9 @@
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_target": {
"__id__": 2
},
"_alignFlags": 45,
"_left": 0,
"_right": 0,
......
......@@ -241,9 +241,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
const endRoot = cc.find("Canvas/endRoot")
endRoot.scale = this._mapScaleMax;
const bg1 = cc.find("Canvas/bg1")
bg1.width = cc.winSize.width;
bg1.height = cc.winSize.height;
// const bg1 = cc.find("Canvas/bg1")
// bg1.width = cc.winSize.width;
// bg1.height = cc.winSize.height;
this.cat.getComponent(dragonBones.ArmatureDisplay).addEventListener(dragonBones.EventObject.COMPLETE, () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment