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_button.tscn | |
| parent | ba7899742388e6cf33bcb85c42b9cd0855c4896a (diff) | |
Fix touchscreen button highlight bug
Diffstat (limited to 'touch_screen_button.tscn')
| -rw-r--r-- | touch_screen_button.tscn | 7 |
1 files changed, 0 insertions, 7 deletions
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"] |
