1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00

Added "View Splash Screen", "Issue Tracker" and "Changelog" as Help menu options

This commit is contained in:
OverloadedOrama 2019-12-31 18:36:57 +02:00
parent d42648efe1
commit 6beb4eed07
2 changed files with 11 additions and 2 deletions

View file

@ -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)

View file

@ -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