smallqiang 5 лет назад
Родитель
Сommit
a7ce859c69
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      assets/scripts/game/Game.js

+ 2 - 0
assets/scripts/game/Game.js

@@ -116,6 +116,8 @@ cc.Class({
 
             if (window.tt != undefined) {
                 this.grossNode.getComponent(cc.Widget).top = 60;
+            } else {
+                this.grossNode.getComponent(cc.Widget).isAlignVerticalCenter = true;
             }
         }