Procházet zdrojové kódy

暂停样式优化

薛鸿潇 před 5 roky
rodič
revize
f354cb5aba
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      assets/script/before/GamePlay.ts

+ 1 - 1
assets/script/before/GamePlay.ts

@@ -220,7 +220,7 @@ export default class GamePlay extends cc.Component {
         // this.node_top.y = (cc.winSize.height - this.node_top.height) * 0.5 + 5;
         const world_pos = gData.gameData.gameStyle.node_top_ui.parent.convertToWorldSpaceAR(gData.gameData.gameStyle.node_top_ui.getPosition());
         const node_pos = this.node_top.parent.convertToNodeSpaceAR(world_pos);
-        this.node_top.y = node_pos.y - 20;
+        this.node_top.y = node_pos.y - 40;
     }
 
     update(dt) {