mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Import pal palette files by dropping them into the app
This commit is contained in:
parent
b53926724e
commit
e673888529
|
@ -23,7 +23,7 @@ func handle_loading_files(files : PoolStringArray) -> void:
|
|||
var file_ext : String = file.get_extension().to_lower()
|
||||
if file_ext == "pxo": # Pixelorama project file
|
||||
open_pxo_file(file)
|
||||
elif file_ext == "json" or file_ext == "gpl": # Palettes
|
||||
elif file_ext == "json" or file_ext == "gpl" or file_ext == "pal": # Palettes
|
||||
Global.palette_container.on_palette_import_file_selected(file)
|
||||
else: # Image files
|
||||
var image := Image.new()
|
||||
|
|
Loading…
Reference in a new issue