diff --git a/src/autoload/Configs.gd b/src/autoload/Configs.gd index 13324c2..1f882de 100644 --- a/src/autoload/Configs.gd +++ b/src/autoload/Configs.gd @@ -44,7 +44,7 @@ func check_orientation(): if new_orientation != current_orientation: current_orientation = new_orientation orientation_changed.emit() - HandlerGUI.toogle_status_bar(new_orientation == orientation.PORTRAIT) + #HandlerGUI.toogle_status_bar(new_orientation == orientation.PORTRAIT) const savedata_path = "user://savedata.tres" var savedata: SaveData: diff --git a/src/autoload/HandlerGUI.gd b/src/autoload/HandlerGUI.gd index 0542d4f..ca0b1bc 100644 --- a/src/autoload/HandlerGUI.gd +++ b/src/autoload/HandlerGUI.gd @@ -97,8 +97,8 @@ func _ready() -> void: update_ui_scale() android_runtime = Engine.get_singleton("AndroidRuntime") - set_system_bar_color(ThemeUtils.base_color, true) - toogle_status_bar(Configs.current_orientation == Configs.orientation.PORTRAIT) + #set_system_bar_color(ThemeUtils.base_color, true) + #toogle_status_bar(Configs.current_orientation == Configs.orientation.PORTRAIT) var version = JavaClassWrapper.wrap("android.os.Build$VERSION") if version: Configs.current_sdk = version.SDK_INT @@ -113,10 +113,10 @@ func _ready() -> void: get_tree().root.add_child.call_deferred(overlay_ref) overlay_ref.add_child(tabs_panel) -func _notification(what: int) -> void: - if what == NOTIFICATION_APPLICATION_RESUMED: - if not status_bar_visible: - toogle_status_bar(false, true) +#func _notification(what: int) -> void: + #if what == NOTIFICATION_APPLICATION_RESUMED: + #if not status_bar_visible: + #toogle_status_bar(false, true) # Drag-and-drop of files. func _on_files_dropped(files: PackedStringArray) -> void: