优化hover效果

This commit is contained in:
2025-05-30 16:43:00 +08:00
parent 73342c1f77
commit 84d1ac4798
9 changed files with 132 additions and 65 deletions

View File

@@ -104,6 +104,12 @@
"y": -12,
"width": 412,
"height": 120,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts"
}
],
"_$child": [
{
"_$id": "he6hpns9",
@@ -159,6 +165,12 @@
"y": -12,
"width": 412,
"height": 120,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts"
}
],
"_$child": [
{
"_$id": "bqp1fe7k",
@@ -213,9 +225,15 @@
"name": "toggle",
"x": 320,
"y": 424,
"width": 42,
"width": 330,
"height": 42,
"bottom": 54,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts"
}
],
"_$child": [
{
"_$id": "74puwx15",
@@ -247,8 +265,7 @@
"name": "Image",
"width": 43,
"height": 42,
"centerX": 0,
"centerY": 0,
"mouseThrough": true,
"skin": "res://6f23a1ca-70f5-467a-afc3-5b178a851423",
"useSourceSize": true,
"color": "#ffffff"
@@ -261,9 +278,7 @@
"y": 2,
"width": 400,
"height": 42,
"left": 54,
"centerY": 2,
"text": "Don't ask me agin",
"text": "Don't ask me again",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 30,
"color": "rgba(84, 89, 98, 1)",