summaryrefslogtreecommitdiffstats
path: root/touch_screen_button.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-14 14:20:01 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-14 14:20:01 +0200
commit5ed6eb1c724076d3119e624951b07726a665f834 (patch)
tree83e70912645de4a9ec02e0056ec709178dcfc3a0 /touch_screen_button.gd
parent9d71ad993ec77108874db9697256b4fef385ce16 (diff)
Fix mobile UI
Diffstat (limited to 'touch_screen_button.gd')
-rw-r--r--touch_screen_button.gd6
1 files changed, 0 insertions, 6 deletions
diff --git a/touch_screen_button.gd b/touch_screen_button.gd
index c7ff973..0b53623 100644
--- a/touch_screen_button.gd
+++ b/touch_screen_button.gd
@@ -1,4 +1,3 @@
-class_name CustomTouchScreenButton
extends TouchScreenButton
@export var texture: Texture2D
@@ -8,8 +7,3 @@ func _ready() -> void:
$TextureRect.texture = texture
if not DisplayServer.is_touchscreen_available():
visible = false
-
-
-# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(_delta: float) -> void:
- pass