future 1 рік тому
батько
коміт
5556c869aa
2 змінених файлів з 4 додано та 7 видалено
  1. 3 6
      assets/resources/prefab/ui/ui_top.prefab
  2. 1 1
      assets/script/config.ts

+ 3 - 6
assets/resources/prefab/ui/ui_top.prefab

@@ -7488,10 +7488,7 @@
       "b": 255,
       "a": 255
     },
-    "_spriteFrame": {
-      "__uuid__": "e22570ce-5553-4526-897a-8dafc317e577@f9941",
-      "__expectedType__": "cc.SpriteFrame"
-    },
+    "_spriteFrame": null,
     "_type": 0,
     "_fillType": 0,
     "_sizeMode": 0,
@@ -9766,7 +9763,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1920,
-      "height": 1080
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -11075,7 +11072,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1920,
-      "height": 1080
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 1 - 1
assets/script/config.ts

@@ -5,7 +5,7 @@ const { ccclass, property } = _decorator;
 export class config {
     static debug = true;
     static domain = "https://zcapi.xwrun.com";
-    static is_MAC_edit = false; //目前临时处理
+    static is_MAC_edit = false; //目前临时处理:如果是Mac并且浏览器打开了检查时设置为false,正式打包需要设置为true
     static select_res_and_control_type = {
         RES_TYPE:0,
         CONTROL_TYPE:1,