mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-18 13:04:42 -05:00
Refactor export dialog (#288)
* Split export code from export dialog to Export.gd autoload Clean access to child nodes of export dialog * Fix export variables set in Main.gd * Fix more wrong variable assignments Co-authored-by: alexhayoo <65853178+alexhayoo@users.noreply.github.com>
This commit is contained in:
parent
2346ca810b
commit
6f645d996d
6 changed files with 514 additions and 475 deletions
|
|
@ -194,7 +194,7 @@ func save_project_file_as() -> void:
|
|||
|
||||
|
||||
func export_file() -> void:
|
||||
if Global.export_dialog.was_exported == false:
|
||||
if Export.was_exported == false:
|
||||
Global.export_dialog.popup_centered()
|
||||
Global.dialog_open(true)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue