mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-12 22:35:18 +00:00
Fix macOS shortcuts
This commit is contained in:
parent
9648b48a96
commit
8624ed6da8
1 changed files with 5 additions and 3 deletions
|
@ -11,14 +11,16 @@ onready var scroll_container := ui.find_node("ColorAndToolOptions/ScrollContaine
|
|||
onready var quit_dialog: ConfirmationDialog = find_node("QuitDialog")
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
if OS.get_name() == "OSX":
|
||||
_use_osx_shortcuts()
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
randomize()
|
||||
get_tree().set_auto_accept_quit(false)
|
||||
_setup_application_window_size()
|
||||
|
||||
if OS.get_name() == "OSX":
|
||||
_use_osx_shortcuts()
|
||||
|
||||
Global.window_title = tr("untitled") + " - Pixelorama " + Global.current_version
|
||||
|
||||
Global.current_project.layers[0].name = tr("Layer") + " 0"
|
||||
|
|
Loading…
Add table
Reference in a new issue