1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

When exporting a palette as an image, automatically set the file name to the palette name

This commit is contained in:
Emmanouil Papadeas 2023-12-21 21:54:20 +02:00
parent ed1b5168f9
commit 802c06cd6b

View file

@ -42,6 +42,7 @@ func open(current_palette: Palette) -> void:
width_input.value = current_palette.width
height_input.value = current_palette.height
path_input.text = current_palette.resource_path
export_file_dialog.current_file = current_palette.name
# Store original size so it can be compared with changed values
# and warning can be shown if it is reduced