mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-13 09:13:07 +00:00
Fix always_on_top for sub-dialogs (#1167)
* Fix Create Folder sub-dialog of Export > Browse being always behind (thus making it unusable) * Add a dedicated tag (makes it easier to remove it if godot itself fixes this bug later), save and save as dialog are fixed * the scenes themselves have the tag instead of in Main.tscn * Fix browse->new folder of export dialog * fix a typo * Restore lines that were unintentionally changed by Godot * simplify the code and move it to the Export Dialog * fix artefacts of moving the code
This commit is contained in:
parent
ec7155cf1e
commit
563edced5e
|
@ -63,6 +63,11 @@ func _ready() -> void:
|
||||||
else:
|
else:
|
||||||
file_exists_alert_popup.add_button("Cancel Export", false, "cancel")
|
file_exists_alert_popup.add_button("Cancel Export", false, "cancel")
|
||||||
|
|
||||||
|
# TODO: Remove the loop when https://github.com/godotengine/godot/issues/92848 gets fixed.
|
||||||
|
for dialog_child in path_dialog_popup.get_children(true):
|
||||||
|
if dialog_child is Window:
|
||||||
|
dialog_child.always_on_top = path_dialog_popup.always_on_top
|
||||||
|
|
||||||
|
|
||||||
func show_tab() -> void:
|
func show_tab() -> void:
|
||||||
get_tree().call_group("ExportImageOptions", "hide")
|
get_tree().call_group("ExportImageOptions", "hide")
|
||||||
|
|
Loading…
Reference in a new issue