UI遮挡问题

This commit is contained in:
2025-05-30 14:46:49 +08:00
parent 23a2f686cb
commit c191f8c747
5 changed files with 18 additions and 26 deletions

View File

@@ -7,8 +7,8 @@
"top": 0,
"bottom": 0,
"name": "Scene2D",
"width": 1080,
"height": 1920,
"width": 1920,
"height": 1080,
"_$comp": [
{
"_$type": "7bad1742-6eed-4d8d-81c0-501dc5bf03d6",
@@ -17,7 +17,7 @@
{
"_$type": "cd70cd5e-b4cd-4277-ac0a-2224cfbe89ac",
"scriptPath": "../src/models/UIManager.ts",
"debug": false,
"debug": true,
"mask": {
"_$ref": "2668mvhf"
},
@@ -31,8 +31,6 @@
"_$id": "4rxcl2w3",
"_$type": "Panel",
"name": "UIRoot",
"x": -420,
"y": 420,
"width": 1920,
"height": 1080,
"_mouseState": 2,
@@ -43,8 +41,8 @@
"_$id": "2668mvhf",
"_$type": "Image",
"name": "mask",
"width": 1080,
"height": 1920,
"width": 1920,
"height": 1080,
"alpha": 0,
"left": 0,
"right": 0,
@@ -57,8 +55,8 @@
"_$id": "c5p596do",
"_$type": "Box",
"name": "btn_clean",
"x": 440,
"y": 1860,
"x": 860,
"y": 1020,
"width": 200,
"height": 60,
"bottom": 0,

View File

@@ -6,6 +6,7 @@
"width": 1920,
"height": 120,
"top": 0,
"centerX": 0,
"_$comp": [
{
"_$type": "cadd567d-5099-49b9-a9b3-b7c404d5fe1b",

View File

@@ -7,9 +7,8 @@
"width": 1920,
"height": 960,
"_mouseState": 2,
"left": 0,
"right": 0,
"bottom": 0,
"top": 120,
"centerX": 0,
"_$comp": [
{
"_$type": "3f68d98d-3867-41a7-b277-a24d279a22fa",

View File

@@ -7,9 +7,8 @@
"width": 1920,
"height": 960,
"_mouseState": 2,
"left": 0,
"right": 0,
"bottom": 0,
"top": 120,
"centerX": 0,
"_$comp": [
{
"_$type": "554595b0-0dd8-4e4b-8073-8d775219659c",
@@ -41,20 +40,15 @@
"_$type": "Panel",
"name": "Panel",
"width": 1920,
"height": 960,
"height": 842,
"_mouseState": 2,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"scrollType": 2,
"_$child": [
{
"_$id": "f1u9ghcd",
"_$type": "VBox",
"name": "items",
"x": 45,
"width": 1830,
"width": 1920,
"height": 960,
"centerX": 0,
"space": 40,
@@ -65,7 +59,7 @@
"_$prefab": "c1b8084e-7edd-4519-9680-5deaab191d1d",
"name": "TrophyRoomYear_H",
"active": true,
"x": 0,
"x": 45,
"y": 0,
"visible": true,
"_$child": [
@@ -115,12 +109,12 @@
"_$type": "Panel",
"name": "Back",
"x": 48,
"y": 825,
"y": 842,
"width": 220,
"height": 90,
"_mouseState": 2,
"left": 48,
"top": 825,
"top": 842,
"_$child": [
{
"_$id": "jdgsds0q",