From 5c726e339a56113878073aa1929d007d052c8a8b Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 22 Nov 2025 09:56:30 +0200 Subject: Fix touchscreen button highlight bug --- touch_screen_button.tscn | 7 ------- 1 file changed, 7 deletions(-) (limited to 'touch_screen_button.tscn') diff --git a/touch_screen_button.tscn b/touch_screen_button.tscn index e1d0898..355d491 100644 --- a/touch_screen_button.tscn +++ b/touch_screen_button.tscn @@ -10,8 +10,6 @@ shape = SubResource("RectangleShape2D_l8v81") passby_press = true visibility_mode = 1 script = ExtResource("1_8gxd0") -inactive_color = Color(0.54509807, 0.6666667, 1, 0.5019608) -active_color = Color(0, 0.77254903, 0.7764706, 0.5019608) [node name="TextureRect" type="TextureRect" parent="."] offset_left = -8.0 @@ -19,8 +17,3 @@ offset_top = -8.0 offset_right = 8.0 offset_bottom = 8.0 expand_mode = 1 - -[node name="CanvasModulate" type="CanvasModulate" parent="TextureRect"] - -[connection signal="pressed" from="." to="." method="_on_pressed"] -[connection signal="released" from="." to="." method="_on_released"] -- cgit v1.3