按钮变形

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

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