소스 검색

适配调整

薛鸿潇 5 년 전
부모
커밋
e7cc7ff0eb
2개의 변경된 파일9개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 5
      assets/resources/game/prefab/game.prefab
  2. 2 2
      assets/scene/MainScene.fire

+ 7 - 5
assets/resources/game/prefab/game.prefab

@@ -46,8 +46,8 @@
     },
     },
     "_contentSize": {
     "_contentSize": {
       "__type__": "cc.Size",
       "__type__": "cc.Size",
-      "width": 0,
-      "height": 0
+      "width": 750,
+      "height": 1334
     },
     },
     "_anchorPoint": {
     "_anchorPoint": {
       "__type__": "cc.Vec2",
       "__type__": "cc.Vec2",
@@ -384,7 +384,7 @@
       "__type__": "TypedArray",
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "ctor": "Float64Array",
       "array": [
       "array": [
-        315,
+        302.032,
         0,
         0,
         0,
         0,
         0,
         0,
@@ -986,10 +986,12 @@
     },
     },
     "_enabled": true,
     "_enabled": true,
     "alignMode": 1,
     "alignMode": 1,
-    "_target": null,
+    "_target": {
+      "__id__": 1
+    },
     "_alignFlags": 32,
     "_alignFlags": 32,
     "_left": 0,
     "_left": 0,
-    "_right": 0,
+    "_right": 12.968000000000018,
     "_top": 0,
     "_top": 0,
     "_bottom": 0,
     "_bottom": 0,
     "_verticalCenter": 0,
     "_verticalCenter": 0,

+ 2 - 2
assets/scene/MainScene.fire

@@ -565,8 +565,8 @@
       "width": 750,
       "width": 750,
       "height": 1334
       "height": 1334
     },
     },
-    "_fitWidth": false,
-    "_fitHeight": true,
+    "_fitWidth": true,
+    "_fitHeight": false,
     "_id": "59Cd0ovbdF4byw5sbjJDx7"
     "_id": "59Cd0ovbdF4byw5sbjJDx7"
   },
   },
   {
   {