Commit 0d47ebc8 authored by 李维's avatar 李维

修复无法进入课件的问题

parent ec014a3d
...@@ -21,6 +21,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -21,6 +21,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
bgNode.x = bgNode.parent.width / -2; bgNode.x = bgNode.parent.width / -2;
bgNode.y = bgNode.parent.height / 2; bgNode.y = bgNode.parent.height / 2;
bgNode.scale = bgNode.parent.height / frame.height; bgNode.scale = bgNode.parent.height / frame.height;
resolve();
}); });
}) })
......
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