From 4d8709e47afc2eb8b4e46ced2747b662a849da29 Mon Sep 17 00:00:00 2001 From: dam Date: Fri, 14 Jan 2022 01:11:38 +0000 Subject: Fix PointerInputSensor. Simplify TouchItemList and TouchVerticalContainer. --- main.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.gd') diff --git a/main.gd b/main.gd index c5f7d0d..768366a 100644 --- a/main.gd +++ b/main.gd @@ -26,15 +26,15 @@ func _process(delta: float): if timeout > 0.0: timeout -= delta else: - Engine.target_fps = 10.0 + Engine.target_fps = 10 -func _input(event): +func _input(event: InputEvent): Engine.target_fps = 0 timeout = 3.5 -func _unhandled_input(event): +func _unhandled_input(event: InputEvent): Engine.target_fps = 0 timeout = 3.5 -- cgit v1.2.3