diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-11-22 09:56:30 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-11-22 09:56:47 +0200 |
| commit | 5c726e339a56113878073aa1929d007d052c8a8b (patch) | |
| tree | c3bf876a2042f401db61c61e7cc2e6a09b7cb60a /touch_screen_ui.tscn | |
| parent | ba7899742388e6cf33bcb85c42b9cd0855c4896a (diff) | |
Fix touchscreen button highlight bug
Diffstat (limited to 'touch_screen_ui.tscn')
| -rw-r--r-- | touch_screen_ui.tscn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/touch_screen_ui.tscn b/touch_screen_ui.tscn index a9b29b3..52e4e37 100644 --- a/touch_screen_ui.tscn +++ b/touch_screen_ui.tscn @@ -15,19 +15,27 @@ size = Vector2(40, 26) position = Vector2(60, 88) action = "move_right" texture = ExtResource("2_e48dh") +inactive_color = Color(0.54509807, 0.6666667, 1, 0.5019608) +active_color = Color(0, 0.77254903, 0.7764706, 0.5019608) [node name="TouchScreenButtonLeft" parent="." groups=["ui_movement"] instance=ExtResource("1_e48dh")] position = Vector2(20, 88) action = "move_left" texture = ExtResource("3_e48dh") +inactive_color = Color(0.54509807, 0.6666667, 1, 0.5019608) +active_color = Color(0, 0.77254903, 0.7764706, 0.5019608) [node name="TouchScreenButtonJump" parent="." groups=["ui_movement"] instance=ExtResource("1_e48dh")] position = Vector2(172, 88) action = "jump" texture = ExtResource("4_e48dh") +inactive_color = Color(0.54509807, 0.6666667, 1, 0.5019608) +active_color = Color(0, 0.77254903, 0.7764706, 0.5019608) [node name="TouchScreenButtonMenu" parent="." groups=["ui_menu"] instance=ExtResource("1_e48dh")] position = Vector2(172, 13) shape = SubResource("RectangleShape2D_k6i1l") action = "menu" texture = ExtResource("5_e48dh") +inactive_color = Color(0.54509807, 0.6666667, 1, 0.5019608) +active_color = Color(0, 0.77254903, 0.7764706, 0.5019608) |
