mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-05-05 16:34:48 -04:00
Added "Issue Tracker" to the Help menu
This commit is contained in:
parent
810cd5ec88
commit
d1ef5c17e9
3 changed files with 7 additions and 4 deletions
|
@ -62,7 +62,7 @@ func _on_Website_pressed() -> void:
|
|||
OS.shell_open("https://www.orama-interactive.com/pixelorama")
|
||||
|
||||
func _on_GitHub_pressed() -> void:
|
||||
OS.shell_open("https://github.com/OverloadedOrama/Pixelorama")
|
||||
OS.shell_open("https://github.com/Orama-Interactive/Pixelorama")
|
||||
|
||||
func _on_Donate_pressed() -> void:
|
||||
OS.shell_open("https://paypal.me/OverloadedOrama")
|
||||
|
|
|
@ -76,6 +76,7 @@ func _ready() -> void:
|
|||
"Outline" : 0
|
||||
}
|
||||
var help_menu_items := {
|
||||
"Issue Tracker" : 0,
|
||||
"About Pixelorama" : 0
|
||||
}
|
||||
|
||||
|
@ -334,7 +335,9 @@ func image_menu_id_pressed(id : int) -> void:
|
|||
|
||||
func help_menu_id_pressed(id : int) -> void:
|
||||
match id:
|
||||
0: # About Pixelorama
|
||||
0: # Issue Tracker
|
||||
OS.shell_open("https://github.com/Orama-Interactive/Pixelorama/issues")
|
||||
1: # About Pixelorama
|
||||
$AboutDialog.popup_centered()
|
||||
Global.can_draw = false
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ func on_new_empty_palette() -> void:
|
|||
func on_import_palette() -> void:
|
||||
Global.palette_import_file_dialog.popup_centered()
|
||||
|
||||
func on_palette_import_file_selected(path) -> void:
|
||||
func on_palette_import_file_selected(path : String) -> void:
|
||||
var palette : Palette = null
|
||||
if path.to_lower().ends_with("json"):
|
||||
palette = Palette.new().load_from_file(path)
|
||||
|
@ -70,7 +70,7 @@ func on_new_palette_confirmed() -> void:
|
|||
Global.error_dialog.set_text(result)
|
||||
Global.error_dialog.popup_centered()
|
||||
|
||||
func add_palette_menu_id_pressed(id) -> void:
|
||||
func add_palette_menu_id_pressed(id : int) -> void:
|
||||
match id:
|
||||
0: # New Empty Palette
|
||||
Global.palette_container.on_new_empty_palette()
|
||||
|
|
Loading…
Add table
Reference in a new issue