From b8e0e155c81be6b2d96e3eb786e0cbae7795df19 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 2 Jan 2023 14:46:01 +0100 Subject: [PATCH] Black border fix --- assets/Media/Prefabs/AppRoot.prefab | 38 ++++++++++++++--------------- assets/Scenes/Game.scene | 8 +++--- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/assets/Media/Prefabs/AppRoot.prefab b/assets/Media/Prefabs/AppRoot.prefab index 6eeac05..4e1be19 100644 --- a/assets/Media/Prefabs/AppRoot.prefab +++ b/assets/Media/Prefabs/AppRoot.prefab @@ -617,7 +617,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -420, + "x": -320, "y": 0, "z": -2000 }, @@ -634,7 +634,7 @@ "y": 1, "z": 1 }, - "_layer": 1073741824, + "_layer": 33554432, "_euler": { "__type__": "cc.Vec3", "x": 0, @@ -656,12 +656,12 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 200, + "width": 1000, "height": 1200 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 1, "y": 0.5 }, "_id": "" @@ -746,7 +746,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 420, + "x": 320, "y": 0, "z": -2000 }, @@ -763,7 +763,7 @@ "y": 1, "z": 1 }, - "_layer": 1073741824, + "_layer": 33554432, "_euler": { "__type__": "cc.Vec3", "x": 0, @@ -785,12 +785,12 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 200, + "width": 1000, "height": 1200 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_id": "" @@ -876,7 +876,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 580, + "y": 480, "z": -2000 }, "_lrot": { @@ -892,7 +892,7 @@ "y": 1, "z": 1 }, - "_layer": 1073741824, + "_layer": 33554432, "_euler": { "__type__": "cc.Vec3", "x": 0, @@ -914,13 +914,13 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1050, - "height": 200 + "width": 2640, + "height": 500 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 0 }, "_id": "" }, @@ -1005,7 +1005,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -580, + "y": -480, "z": -2000 }, "_lrot": { @@ -1021,7 +1021,7 @@ "y": 1, "z": 1 }, - "_layer": 1073741824, + "_layer": 33554432, "_euler": { "__type__": "cc.Vec3", "x": 0, @@ -1043,13 +1043,13 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1050, - "height": 200 + "width": 2640, + "height": 500 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 1 }, "_id": "" }, @@ -1351,7 +1351,7 @@ "_priority": 1073741824, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 480.00000000000006, + "_orthoHeight": 542.6728110599079, "_near": 0, "_far": 2000, "_color": { diff --git a/assets/Scenes/Game.scene b/assets/Scenes/Game.scene index 10acb82..5d5f464 100644 --- a/assets/Scenes/Game.scene +++ b/assets/Scenes/Game.scene @@ -272,7 +272,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 319.99999999999994, - "y": 480.00000000000006, + "y": 479.99999999999994, "z": 0 }, "_lrot": { @@ -1684,7 +1684,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": -320, - "y": 480.0000000000001, + "y": 480, "z": -1000 }, "_lrot": { @@ -3063,8 +3063,8 @@ "_target": null, "_left": -5.684341886080802e-14, "_right": 0, - "_top": 1.1368683772161603e-13, - "_bottom": 5.684341886080802e-14, + "_top": 0, + "_bottom": -5.684341886080802e-14, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true,