From 9724fb73abf9fd3760a4f3f3ac941a119708c97b Mon Sep 17 00:00:00 2001 From: dam Date: Thu, 16 Dec 2021 01:17:34 +0000 Subject: First prototype with working database and staging area. Fix incorrect warp in date picker. Disable physics engine. --- main.gd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'main.gd') diff --git a/main.gd b/main.gd index 803c2d4..d242bda 100644 --- a/main.gd +++ b/main.gd @@ -1,6 +1,7 @@ extends Control var timeout: float + onready var controls_sensible_to_keyboard: Array = [ self, get_node("/root/main/about"), @@ -10,8 +11,13 @@ onready var controls_sensible_to_keyboard: Array = [ ] +func _init(): + Physics2DServer.set_active(false) + PhysicsServer.set_active(false) + + + func _process(delta: float): - var keyboard_height: int = OS.get_virtual_keyboard_height() for it in controls_sensible_to_keyboard: it.margin_bottom = -keyboard_height -- cgit v1.2.3