diff --git a/play/assets/tmpGame/script/Scene.js b/play/assets/tmpGame/script/Scene.js index 6e6fa54d144d032a09dbe7f827f8bf38da877c62..59198e5c3558360f2dc0e8ea4568d035ddde2236 100644 --- a/play/assets/tmpGame/script/Scene.js +++ b/play/assets/tmpGame/script/Scene.js @@ -205,8 +205,8 @@ cc.Class({ dragonDisplay.armatureName = armatureNames[0]; } - let width = animNode.node.width; - let height = animNode.node.height; + let width = animNode.width; + let height = animNode.height; animNode.spriteFrame = spriteFrame; animNode.width = width; animNode.height = height;