mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-26 04:14:42 -04:00
Added MatheusPese & sapient-cogbag to contributors
Also some code space clearings & removed empty methods and comments in XDGDataPaths.gd
This commit is contained in:
parent
0046856b0f
commit
354dffd98b
6 changed files with 55 additions and 67 deletions
|
@ -122,13 +122,13 @@ func rename_palette_file_with_priority_dirs(old_fname: String, new_fname: String
|
|||
)
|
||||
if best_clone_location != null:
|
||||
usrwrite_dir.copy(best_clone_location, new_fname)
|
||||
|
||||
|
||||
|
||||
func _on_EditPaletteSaveButton_pressed() -> void:
|
||||
if palette_name_edit.text != current_palette:
|
||||
Global.palettes.erase(current_palette)
|
||||
rename_palette_file_with_priority_dirs(
|
||||
current_palette + ".json",
|
||||
current_palette + ".json",
|
||||
palette_name_edit.text + ".json"
|
||||
)
|
||||
current_palette = palette_name_edit.text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue