PreferencesDialog is now a scene of its own

We should change the organization of the project, and use multiple saved scenes instead of everything being on Main.tscn.
Also restored "X" as a shortcut for color switch, because that somehow got lost.
This commit is contained in:
OverloadedOrama 2019-12-18 18:12:44 +02:00
parent 4586853636
commit 432c9690ff
6 changed files with 172 additions and 156 deletions

View file

@ -47,7 +47,7 @@ func on_import_palette() -> void:
func on_palette_import_file_selected(path) -> void:
var file := File.new()
file.open(path, File.READ)
var text = file.get_as_text()
var result_json = JSON.parse(text)