Commit 903316ec authored by 杨一航's avatar 杨一航

UI change

parent a7ee2566
...@@ -562,7 +562,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -562,7 +562,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
icon.parent = this.cover.getChildByName("bg").getChildByName("bar"); icon.parent = this.cover.getChildByName("bg").getChildByName("bar");
icon.x = 0; icon.x = 0;
icon.y = 0; icon.y = 0;
icon.scale = 1; icon.scale = Math.min(icon.parent.width * 0.8 / icon.width, icon.parent.height * 0.8 / icon.height);
pass.active = false; pass.active = false;
loss.active = false; loss.active = false;
......
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