瀏覽代碼

Merge branch 'dev' into dev2

smallqiang 5 年之前
父節點
當前提交
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;
             }
         }