mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Mark dialogs as popup_windows
So they can close when the user clicks outside the window on Godot 4.2
This commit is contained in:
parent
397e9e7c17
commit
94b3e75f30
|
@ -74,23 +74,28 @@ position = Vector2i(0, 24)
|
|||
[node name="UnsavedCanvasDialog" type="ConfirmationDialog" parent="Dialogs"]
|
||||
title = "Unsaved Image"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
dialog_text = "You have unsaved changes. If you proceed, the progress you have made will be lost."
|
||||
|
||||
[node name="QuitDialog" type="ConfirmationDialog" parent="Dialogs"]
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
dialog_text = "Are you sure you want to exit Pixelorama?"
|
||||
|
||||
[node name="QuitAndSaveDialog" type="ConfirmationDialog" parent="Dialogs"]
|
||||
title = "Save before exiting?"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
dialog_text = "You have unsaved progress. How do you wish to proceed?"
|
||||
|
||||
[node name="ErrorDialog" type="AcceptDialog" parent="Dialogs"]
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
dialog_text = "This is an error message!"
|
||||
|
||||
[node name="BackupConfirmation" type="ConfirmationDialog" parent="Dialogs"]
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
dialog_text = "Autosaved project(s) from a crashed session were found.
|
||||
Do you want to recover the data?"
|
||||
dialog_autowrap = true
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
[node name="CreatePaletteDialog" type="ConfirmationDialog"]
|
||||
title = "Create a new palette"
|
||||
size = Vector2i(325, 437)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
[node name="EditPaletteDialog" type="ConfirmationDialog"]
|
||||
title = "Edit Palette"
|
||||
size = Vector2i(409, 559)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
@ -94,6 +96,8 @@ autowrap_mode = 3
|
|||
|
||||
[node name="DeleteConfirmation" type="ConfirmationDialog" parent="."]
|
||||
size = Vector2i(445, 105)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
ok_button_text = "Delete Permanently"
|
||||
|
||||
[node name="Label" type="Label" parent="DeleteConfirmation"]
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
title = "Preferences"
|
||||
size = Vector2i(800, 500)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="HSplitContainer" type="HSplitContainer" parent="."]
|
||||
|
@ -1296,6 +1297,8 @@ text = "Pixelorama must be restarted for changes to take effect."
|
|||
|
||||
[node name="AddExtensionFileDialog" type="FileDialog" parent="Popups"]
|
||||
mode = 1
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
access = 2
|
||||
filters = PackedStringArray("*.pck ; Godot Resource Pack File", "*.zip ;")
|
||||
show_hidden_files = true
|
||||
|
@ -1304,6 +1307,8 @@ show_hidden_files = true
|
|||
unique_name_in_owner = true
|
||||
position = Vector2i(0, 36)
|
||||
size = Vector2i(500, 100)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
ok_button_text = "Delete Permanently"
|
||||
|
||||
[node name="Label" type="Label" parent="DeleteConfirmation"]
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
[node name="CreateNewImage" type="ConfirmationDialog"]
|
||||
title = "New..."
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -11,6 +11,7 @@ title = "Export..."
|
|||
position = Vector2i(0, 36)
|
||||
size = Vector2i(700, 600)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
dialog_hide_on_ok = false
|
||||
script = ExtResource("1")
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
canvas_item_default_texture_filter = 0
|
||||
size = Vector2i(360, 316)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("3")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
canvas_item_default_texture_filter = 0
|
||||
title = "Resize Canvas"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("2")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
[node name="ScaleImage" type="ConfirmationDialog"]
|
||||
title = "Scale Image"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
[node name="ShaderEffect" type="ConfirmationDialog"]
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -20,6 +20,7 @@ hidden_tabs = {}
|
|||
[node name="ManageLayouts" type="AcceptDialog"]
|
||||
title = "Manage Layouts"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
title = "Open File(s)"
|
||||
size = Vector2i(558, 400)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
ok_button_text = "Open"
|
||||
file_mode = 1
|
||||
access = 2
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
[node name="SaveSprite" type="FileDialog"]
|
||||
size = Vector2i(675, 400)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
access = 2
|
||||
filters = PackedStringArray("*.pxo ; Pixelorama Project")
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[node name="SaveSpriteHTML5" type="ConfirmationDialog"]
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
|
||||
[node name="FileNameContainer" type="HBoxContainer" parent="."]
|
||||
anchors_preset = 10
|
||||
|
|
|
@ -29,6 +29,7 @@ canvas_item_default_texture_filter = 0
|
|||
position = Vector2i(0, 36)
|
||||
size = Vector2i(602, 650)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Contents" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -11,6 +11,7 @@ blend_mode = 4
|
|||
canvas_item_default_texture_filter = 0
|
||||
title = "Tile Mode Offsets"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("3")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
[node name="WindowOpacityDialog" type="AcceptDialog"]
|
||||
title = "Window Opacity"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -260,6 +260,8 @@ text = "Choose"
|
|||
|
||||
[node name="Path" type="FileDialog" parent="Dialogs"]
|
||||
mode = 2
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
access = 2
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
[node name="FrameProperties" type="ConfirmationDialog"]
|
||||
title = "Frame properties"
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
title = "Frame Tag Properties"
|
||||
size = Vector2i(413, 300)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
|
@ -64,6 +65,7 @@ text = "Animation plays only on frames of the same tag"
|
|||
[node name="TagOptions" type="ConfirmationDialog" parent="."]
|
||||
size = Vector2i(303, 127)
|
||||
exclusive = false
|
||||
popup_window = true
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="TagOptions"]
|
||||
offset_left = 8.0
|
||||
|
|
Loading…
Reference in a new issue