mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 17:24:44 -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
|
@ -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
Add a link
Reference in a new issue