mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 06:44:42 -04:00
You can now drag and drop/"open with" image files
Thanks to OS.get_cmdline_args(). Support for .pxo files will be coming soon.
This commit is contained in:
parent
3fbd1d35eb
commit
45a31faa7b
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,9 @@ func _ready() -> void:
|
|||
remove_child(child)
|
||||
get_vbox().add_child(child)
|
||||
|
||||
if OS.get_cmdline_args():
|
||||
_on_ImportSprites_files_selected(OS.get_cmdline_args())
|
||||
|
||||
func _on_ImportAsNewFrame_pressed() -> void:
|
||||
new_frame = !new_frame
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue