1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-30 23:19:49 +00:00

Enable exclusive and disable popup_window flags of all the dialogs

Closes #1061, fixes issue where when Pixelorama's window loses focus, the dialogs disappeared, but the dialogs can no longer close when pressing outside of them.
This commit is contained in:
Emmanouil Papadeas 2024-07-31 22:49:30 +03:00
parent 8ba2b62921
commit 95b5102394
20 changed files with 0 additions and 44 deletions

View file

@ -14,8 +14,6 @@
title = "Preferences" title = "Preferences"
position = Vector2i(0, 36) position = Vector2i(0, 36)
size = Vector2i(800, 500) size = Vector2i(800, 500)
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="HSplitContainer" type="HSplitContainer" parent="."] [node name="HSplitContainer" type="HSplitContainer" parent="."]
@ -1349,8 +1347,6 @@ text = "Pixelorama must be restarted for changes to take effect."
mode = 1 mode = 1
title = "Open File(s)" title = "Open File(s)"
size = Vector2i(560, 400) size = Vector2i(560, 400)
exclusive = false
popup_window = true
ok_button_text = "Open" ok_button_text = "Open"
file_mode = 1 file_mode = 1
access = 2 access = 2
@ -1369,8 +1365,6 @@ dialog_autowrap = true
unique_name_in_owner = true unique_name_in_owner = true
position = Vector2i(0, 36) position = Vector2i(0, 36)
size = Vector2i(400, 100) size = Vector2i(400, 100)
exclusive = false
popup_window = true
ok_button_text = "Delete Permanently" ok_button_text = "Delete Permanently"
dialog_text = "Are you sure you want to delete this extension?" dialog_text = "Are you sure you want to delete this extension?"
dialog_autowrap = true dialog_autowrap = true

View file

@ -10,8 +10,6 @@
[node name="CreateNewImage" type="ConfirmationDialog"] [node name="CreateNewImage" type="ConfirmationDialog"]
title = "New..." title = "New..."
size = Vector2i(384, 330) size = Vector2i(384, 330)
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -10,8 +10,6 @@ canvas_item_default_texture_filter = 0
title = "Export..." title = "Export..."
position = Vector2i(0, 36) position = Vector2i(0, 36)
size = Vector2i(700, 600) size = Vector2i(700, 600)
exclusive = false
popup_window = true
dialog_hide_on_ok = false dialog_hide_on_ok = false
script = ExtResource("1") script = ExtResource("1")

View file

@ -10,8 +10,6 @@
canvas_item_default_texture_filter = 0 canvas_item_default_texture_filter = 0
position = Vector2i(0, 36) position = Vector2i(0, 36)
size = Vector2i(362, 379) size = Vector2i(362, 379)
exclusive = false
popup_window = true
script = ExtResource("3") script = ExtResource("3")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]
@ -94,7 +92,6 @@ layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
item_count = 4 item_count = 4
selected = 0
popup/item_0/text = "Selected cels" popup/item_0/text = "Selected cels"
popup/item_0/id = 0 popup/item_0/id = 0
popup/item_1/text = "Current frame" popup/item_1/text = "Current frame"

View file

@ -6,8 +6,6 @@
[node name="ResizeCanvas" type="ConfirmationDialog"] [node name="ResizeCanvas" type="ConfirmationDialog"]
canvas_item_default_texture_filter = 0 canvas_item_default_texture_filter = 0
title = "Resize Canvas" title = "Resize Canvas"
exclusive = false
popup_window = true
script = ExtResource("2") script = ExtResource("2")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -8,8 +8,6 @@
[node name="ScaleImage" type="ConfirmationDialog"] [node name="ScaleImage" type="ConfirmationDialog"]
title = "Scale Image" title = "Scale Image"
size = Vector2i(206, 325) size = Vector2i(206, 325)
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -6,8 +6,6 @@
[sub_resource type="ShaderMaterial" id="1"] [sub_resource type="ShaderMaterial" id="1"]
[node name="ShaderEffect" type="ConfirmationDialog"] [node name="ShaderEffect" type="ConfirmationDialog"]
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -5,7 +5,6 @@
[node name="ImportTagDialog" type="ConfirmationDialog"] [node name="ImportTagDialog" type="ConfirmationDialog"]
title = "Import Tag" title = "Import Tag"
size = Vector2i(270, 300) size = Vector2i(270, 300)
exclusive = false
min_size = Vector2i(250, 0) min_size = Vector2i(250, 0)
ok_button_text = "Import" ok_button_text = "Import"
script = ExtResource("1_5fb6k") script = ExtResource("1_5fb6k")

View file

@ -21,8 +21,6 @@ save_on_change = false
[node name="ManageLayouts" type="AcceptDialog"] [node name="ManageLayouts" type="AcceptDialog"]
title = "Manage Layouts" title = "Manage Layouts"
size = Vector2i(500, 500) size = Vector2i(500, 500)
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -3,8 +3,6 @@
[node name="OpenSprite" type="FileDialog" groups=["FileDialogs"]] [node name="OpenSprite" type="FileDialog" groups=["FileDialogs"]]
title = "Open File(s)" title = "Open File(s)"
size = Vector2i(558, 400) size = Vector2i(558, 400)
exclusive = false
popup_window = true
ok_button_text = "Open" ok_button_text = "Open"
file_mode = 1 file_mode = 1
access = 2 access = 2

View file

@ -5,8 +5,6 @@
[node name="ProjectProperties" type="AcceptDialog"] [node name="ProjectProperties" type="AcceptDialog"]
title = "Project Properties" title = "Project Properties"
size = Vector2i(197, 235) size = Vector2i(197, 235)
exclusive = false
popup_window = true
script = ExtResource("1_0n4uc") script = ExtResource("1_0n4uc")
[node name="GridContainer" type="GridContainer" parent="."] [node name="GridContainer" type="GridContainer" parent="."]

View file

@ -2,8 +2,6 @@
[node name="SaveSprite" type="FileDialog" groups=["FileDialogs"]] [node name="SaveSprite" type="FileDialog" groups=["FileDialogs"]]
size = Vector2i(675, 400) size = Vector2i(675, 400)
exclusive = false
popup_window = true
ok_button_text = "Save" ok_button_text = "Save"
access = 2 access = 2
filters = PackedStringArray("*.pxo ; Pixelorama Project") filters = PackedStringArray("*.pxo ; Pixelorama Project")

View file

@ -27,8 +27,6 @@ font_size = 12
canvas_item_default_texture_filter = 0 canvas_item_default_texture_filter = 0
position = Vector2i(0, 36) position = Vector2i(0, 36)
size = Vector2i(602, 650) size = Vector2i(602, 650)
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="Contents" type="VBoxContainer" parent="."] [node name="Contents" type="VBoxContainer" parent="."]

View file

@ -10,8 +10,6 @@ blend_mode = 4
[node name="TileModeOffsetsDialog" type="ConfirmationDialog"] [node name="TileModeOffsetsDialog" type="ConfirmationDialog"]
canvas_item_default_texture_filter = 0 canvas_item_default_texture_filter = 0
title = "Tile Mode Offsets" title = "Tile Mode Offsets"
exclusive = false
popup_window = true
script = ExtResource("3") script = ExtResource("3")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -5,8 +5,6 @@
[node name="WindowOpacityDialog" type="AcceptDialog"] [node name="WindowOpacityDialog" type="AcceptDialog"]
title = "Window Opacity" title = "Window Opacity"
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -6,8 +6,6 @@
[node name="CelProperties" type="AcceptDialog"] [node name="CelProperties" type="AcceptDialog"]
title = "Cel properties" title = "Cel properties"
size = Vector2i(300, 188) size = Vector2i(300, 188)
exclusive = false
popup_window = true
script = ExtResource("1_lyy7i") script = ExtResource("1_lyy7i")
[node name="GridContainer" type="GridContainer" parent="."] [node name="GridContainer" type="GridContainer" parent="."]

View file

@ -5,8 +5,6 @@
[node name="FrameProperties" type="ConfirmationDialog"] [node name="FrameProperties" type="ConfirmationDialog"]
title = "Frame properties" title = "Frame properties"
size = Vector2i(224, 115) size = Vector2i(224, 115)
exclusive = false
popup_window = true
script = ExtResource("1") script = ExtResource("1")
[node name="GridContainer" type="GridContainer" parent="."] [node name="GridContainer" type="GridContainer" parent="."]

View file

@ -5,8 +5,6 @@
[node name="LayerEffectsSettings" type="AcceptDialog"] [node name="LayerEffectsSettings" type="AcceptDialog"]
title = "Layer effects" title = "Layer effects"
size = Vector2i(400, 400) size = Vector2i(400, 400)
exclusive = false
popup_window = true
script = ExtResource("1_h6h7b") script = ExtResource("1_h6h7b")
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]

View file

@ -5,8 +5,6 @@
[node name="LayerProperties" type="AcceptDialog"] [node name="LayerProperties" type="AcceptDialog"]
title = "Layer properties" title = "Layer properties"
exclusive = false
popup_window = true
script = ExtResource("1_54q1t") script = ExtResource("1_54q1t")
[node name="GridContainer" type="GridContainer" parent="."] [node name="GridContainer" type="GridContainer" parent="."]

View file

@ -5,8 +5,6 @@
[node name="TagProperties" type="ConfirmationDialog"] [node name="TagProperties" type="ConfirmationDialog"]
title = "Tag properties" title = "Tag properties"
size = Vector2i(303, 240) size = Vector2i(303, 240)
exclusive = false
popup_window = true
script = ExtResource("1_wbmaq") script = ExtResource("1_wbmaq")
[node name="GridContainer" type="GridContainer" parent="."] [node name="GridContainer" type="GridContainer" parent="."]