diff --git a/Changelog.md b/Changelog.md index c3e10b48d..903fd422a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -22,6 +22,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Color switch has `X` as its shortcut. - Frames can now be removed with middle click. - Selection content can be deleted with the "Delete" button. +- Added a new splash screen window dialog that appears when Pixelorama loads. +- Added "View Splash Screen", "Issue Tracker" and "Changelog" as Help menu options ### Changed - Straight line improvements - it activates by pressing shift after last draw (Thanks to SbNanduri) diff --git a/Scripts/Main.gd b/Scripts/Main.gd index cff3e1f2e..829dc5613 100644 --- a/Scripts/Main.gd +++ b/Scripts/Main.gd @@ -76,7 +76,9 @@ func _ready() -> void: "Outline" : 0 } var help_menu_items := { + "View Splash Screen" : 0, "Issue Tracker" : 0, + "Changelog" : 0, "About Pixelorama" : 0 } @@ -337,9 +339,14 @@ func image_menu_id_pressed(id : int) -> void: func help_menu_id_pressed(id : int) -> void: match id: - 0: # Issue Tracker + 0: # Splash Screen + $SplashDialog.popup_centered() # Splash screen + Global.can_draw = false + 1: # Issue Tracker OS.shell_open("https://github.com/Orama-Interactive/Pixelorama/issues") - 1: # About Pixelorama + 2: # Changelog + OS.shell_open("https://github.com/Orama-Interactive/Pixelorama/blob/master/Changelog.md") + 3: # About Pixelorama $AboutDialog.popup_centered() Global.can_draw = false