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

feat: 反馈调整

parent 79069541
This diff is collapsed.
......@@ -97,9 +97,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.bgIcon.width = this.data.bgItem.rect.width;
this.bgIcon.height = this.data.bgItem.rect.height;
this.rect.getComponent(cc.Widget).updateAlignment();
this.bgIcon.scale = Math.min(1100 / this.bgIcon.width, 660 / this.bgIcon.height)
this.bgIcon.scale = Math.min(1080 / this.bgIcon.width, 660 / this.bgIcon.height)
})
}
......
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