onboarding mouse filter changes

This commit is contained in:
Nordup 2025-08-13 12:43:25 +07:00
parent 3131b731e0
commit ad3fddb4eb
6 changed files with 14 additions and 7 deletions

View file

@ -34,8 +34,9 @@ offset_bottom = 350.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(300, 350)
mouse_filter = 1
script = ExtResource("1_dxxs8")
focus_button = NodePath("TextureButton")
focus_button = NodePath("Button")
unfocus_color = Color(0.9, 0.9, 0.9, 0.5)
unfocus_scale = Vector2(0.8, 0.8)
@ -46,6 +47,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxFlat_r2yvw")
[node name="MarginContainer" type="MarginContainer" parent="."]
@ -111,10 +113,13 @@ theme_override_font_sizes/font_size = 20
text = "Wait"
icon = null
[node name="TextureButton" type="TextureButton" parent="."]
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 0
mouse_filter = 1
flat = true

View file

@ -101,6 +101,7 @@ offset_right = 756.0
offset_bottom = 350.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Board" parent="Root/Carousel/Line" instance=ExtResource("3_04ofy")]
layout_mode = 2
@ -154,6 +155,7 @@ grow_vertical = 2
scale = Vector2(0.8, 0.8)
pivot_offset = Vector2(300, 350)
focus_mode = 0
mouse_filter = 1
mouse_default_cursor_shape = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_vy2ch")
theme_override_styles/hover = SubResource("StyleBoxEmpty_gh5x7")
@ -163,7 +165,7 @@ flat = true
script = ExtResource("6_lcfru")
content = NodePath("Centered")
tween_duration = 0.2
base_modulate = Color(1, 1, 1, 0.5)
normal_modulate = Color(1, 1, 1, 0.5)
hover_scale = 1.2
[node name="Centered" type="Control" parent="Root/Carousel/Line/Close"]