From 0e807c176f6ca6ddf3ebd0ed48157a0820955f54 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 9 May 2020 15:54:43 +0300 Subject: [PATCH] Fixed issue with splash screen buttons, not keeping the background modulation when opening another dialog --- Translations/Translations.pot | 3 +++ src/UI/Dialogs/ExportDialog.tscn | 5 ++--- src/UI/Dialogs/SplashDialog.gd | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 4197c3af0..2b08452ed 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -344,6 +344,9 @@ msgstr "" msgid "View Splash Screen" msgstr "" +msgid "Online Docs" +msgstr "" + msgid "Issue Tracker" msgstr "" diff --git a/src/UI/Dialogs/ExportDialog.tscn b/src/UI/Dialogs/ExportDialog.tscn index 064d03f1e..90076ab88 100644 --- a/src/UI/Dialogs/ExportDialog.tscn +++ b/src/UI/Dialogs/ExportDialog.tscn @@ -4,7 +4,6 @@ [ext_resource path="res://addons/godot-gifexporter/src/GifExporter.gd" type="Script" id=2] [node name="ExportDialog" type="AcceptDialog"] -visible = true margin_right = 532.0 margin_bottom = 530.0 rect_min_size = Vector2( 456, 530 ) @@ -347,8 +346,8 @@ window_title = "Open a Directory" resizable = true mode = 2 access = 2 -current_dir = "/home/wishdream/Pixelorama" -current_path = "/home/wishdream/Pixelorama/" +current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama" +current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/" [node name="PathValidationAlert" type="AcceptDialog" parent="Popups"] margin_left = 8.0 diff --git a/src/UI/Dialogs/SplashDialog.gd b/src/UI/Dialogs/SplashDialog.gd index 064ae9c23..5bc46d189 100644 --- a/src/UI/Dialogs/SplashDialog.gd +++ b/src/UI/Dialogs/SplashDialog.gd @@ -56,20 +56,20 @@ func _on_DiscordButton_pressed() -> void: func _on_NewBtn_pressed() -> void: - Global.control.file_menu_id_pressed(0) visible = false + Global.control.file_menu_id_pressed(0) func _on_OpenBtn__pressed() -> void: - Global.control.file_menu_id_pressed(1) visible = false + Global.control.file_menu_id_pressed(1) func _on_OpenLastBtn_pressed() -> void: - Global.control.file_menu_id_pressed(2) visible = false + Global.control.file_menu_id_pressed(2) func _on_ImportBtn_pressed() -> void: - Global.control.file_menu_id_pressed(5) visible = false + Global.control.file_menu_id_pressed(5)