按钮变形

This commit is contained in:
2025-06-03 18:56:09 +08:00
parent 6a37c8013c
commit cc6efbc801
2 changed files with 39 additions and 47 deletions

View File

@@ -318,18 +318,15 @@
], ],
"_$child": [ "_$child": [
{ {
"_$id": "jms9i780", "_$id": "xs2ndqlh",
"_$type": "Button", "_$type": "Image",
"name": "btn_left", "name": "Image",
"width": 48, "width": 48,
"height": 96, "height": 97,
"_mouseState": 2, "mouseThrough": true,
"stateNum": 1,
"skin": "res://535f9c82-7994-4fd9-a6b5-e7d08199cd4f", "skin": "res://535f9c82-7994-4fd9-a6b5-e7d08199cd4f",
"label": "", "useSourceSize": true,
"labelSize": 20, "color": "#ffffff"
"labelAlign": "center",
"labelVAlign": "middle"
} }
] ]
}, },
@@ -351,18 +348,15 @@
], ],
"_$child": [ "_$child": [
{ {
"_$id": "z0xfu9k7", "_$id": "yeo3d7ex",
"_$type": "Button", "_$type": "Image",
"name": "btn_right", "name": "Image",
"width": 48, "width": 48,
"height": 96, "height": 97,
"_mouseState": 2, "mouseThrough": true,
"stateNum": 1,
"skin": "res://25320e1c-b60c-45af-9122-cdc433872fa7", "skin": "res://25320e1c-b60c-45af-9122-cdc433872fa7",
"label": "", "useSourceSize": true,
"labelSize": 20, "color": "#ffffff"
"labelAlign": "center",
"labelVAlign": "middle"
} }
] ]
} }

View File

@@ -228,8 +228,8 @@
"name": "btn_left", "name": "btn_left",
"x": 50, "x": 50,
"y": 102, "y": 102,
"width": 15, "width": 36,
"height": 42, "height": 72,
"_mouseState": 2, "_mouseState": 2,
"_$comp": [ "_$comp": [
{ {
@@ -240,18 +240,17 @@
], ],
"_$child": [ "_$child": [
{ {
"_$id": "gpuc738d", "_$id": "kj0szcw3",
"_$type": "Button", "_$type": "Image",
"name": "btn_left", "name": "Image",
"width": 36, "width": 48,
"height": 72, "height": 97,
"_mouseState": 2, "scaleX": 0.75,
"stateNum": 1, "scaleY": 0.75,
"mouseThrough": true,
"skin": "res://535f9c82-7994-4fd9-a6b5-e7d08199cd4f", "skin": "res://535f9c82-7994-4fd9-a6b5-e7d08199cd4f",
"label": "", "useSourceSize": true,
"labelSize": 20, "color": "#ffffff"
"labelAlign": "center",
"labelVAlign": "middle"
} }
] ]
}, },
@@ -259,10 +258,10 @@
"_$id": "cesch3ua", "_$id": "cesch3ua",
"_$type": "Box", "_$type": "Box",
"name": "btn_right", "name": "btn_right",
"x": 640, "x": 638,
"y": 102, "y": 102,
"width": 15, "width": 36,
"height": 42, "height": 72,
"_mouseState": 2, "_mouseState": 2,
"_$comp": [ "_$comp": [
{ {
@@ -273,18 +272,17 @@
], ],
"_$child": [ "_$child": [
{ {
"_$id": "tfq470xb", "_$id": "4w6yqgr4",
"_$type": "Button", "_$type": "Image",
"name": "btn_right", "name": "Image",
"width": 36, "width": 48,
"height": 72, "height": 97,
"_mouseState": 2, "scaleX": 0.75,
"stateNum": 1, "scaleY": 0.75,
"mouseThrough": true,
"skin": "res://25320e1c-b60c-45af-9122-cdc433872fa7", "skin": "res://25320e1c-b60c-45af-9122-cdc433872fa7",
"label": "", "useSourceSize": true,
"labelSize": 20, "color": "#ffffff"
"labelAlign": "center",
"labelVAlign": "middle"
} }
] ]
} }