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

The default path of the dialogs for opening and saving is now the user's desktop folder

This commit is contained in:
Manolis Papadeas 2020-10-25 03:26:31 +02:00
parent 4e33476a4d
commit 9be6248024
2 changed files with 7 additions and 0 deletions

View file

@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
This update has been brought to you by the contributions of: This update has been brought to you by the contributions of:
PinyaColada, Rémi Verschelde (akien-mga) PinyaColada, Rémi Verschelde (akien-mga)
### Added ### Added
@ -14,6 +15,7 @@ PinyaColada, Rémi Verschelde (akien-mga)
### Changed ### Changed
- `~` is now used as a random brush prefix instead of `%`. ([#362](https://github.com/Orama-Interactive/Pixelorama/pull/362)) - `~` is now used as a random brush prefix instead of `%`. ([#362](https://github.com/Orama-Interactive/Pixelorama/pull/362))
- The default path of the dialogs for opening and saving is now the user's desktop folder.
### Fixed ### Fixed
- Made .pxo saving safer. In case of a crash while parsing JSON data, the old .pxo file, if it exists, will no longer be overwritten and corrupted. - Made .pxo saving safer. In case of a crash while parsing JSON data, the old .pxo file, if it exists, will no longer be overwritten and corrupted.
@ -25,6 +27,7 @@ PinyaColada, Rémi Verschelde (akien-mga)
## [v0.8.1] - 2020-10-14 ## [v0.8.1] - 2020-10-14
This update has been brought to you by the contributions of: This update has been brought to you by the contributions of:
Laurenz Reinthaler (Schweini07), PinyaColada Laurenz Reinthaler (Schweini07), PinyaColada
### Added ### Added
@ -48,6 +51,7 @@ Laurenz Reinthaler (Schweini07), PinyaColada
## [v0.8] - 2020-09-23 ## [v0.8] - 2020-09-23
This update has been brought to you by the contributions of: This update has been brought to you by the contributions of:
Darshan Phaldesai (luiq54), Igor Santarek (jegor377), rob-a-bolton, Kinwailo, Michael Alexsander (YeldhamDev), Hugo Locurcio (Calinou), Martin Novák (novhack), Xenofon Konitsas (huskeee), Matthew Paul (matthewpaul-us) Darshan Phaldesai (luiq54), Igor Santarek (jegor377), rob-a-bolton, Kinwailo, Michael Alexsander (YeldhamDev), Hugo Locurcio (Calinou), Martin Novák (novhack), Xenofon Konitsas (huskeee), Matthew Paul (matthewpaul-us)
### Added ### Added

View file

@ -22,6 +22,9 @@ func _ready() -> void:
Global.quit_and_save_dialog.add_button("Save & Exit", false, "Save") Global.quit_and_save_dialog.add_button("Save & Exit", false, "Save")
Global.quit_and_save_dialog.get_ok().text = "Exit without saving" Global.quit_and_save_dialog.get_ok().text = "Exit without saving"
Global.open_sprites_dialog.current_dir = OS.get_system_dir(OS.SYSTEM_DIR_DESKTOP)
Global.save_sprites_dialog.current_dir = OS.get_system_dir(OS.SYSTEM_DIR_DESKTOP)
var zstd_checkbox := CheckBox.new() var zstd_checkbox := CheckBox.new()
zstd_checkbox.name = "ZSTDCompression" zstd_checkbox.name = "ZSTDCompression"
zstd_checkbox.pressed = true zstd_checkbox.pressed = true