mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-21 23:34:18 +00:00
Fix delete unable to cancel
This commit is contained in:
parent
1c35d5fcd1
commit
c27f55c577
2 changed files with 2 additions and 1 deletions
|
@ -110,7 +110,7 @@ func _on_shop_ui_delete_begin():
|
|||
for converter in item_converters:
|
||||
converter.pending_deletion()
|
||||
|
||||
func _on_shop_ui_delete_end():
|
||||
func _on_shop_ui_delete_cancel():
|
||||
var converters = find_children("*", "Converter", true, false)
|
||||
for converter in converters:
|
||||
converter.ending_deletion()
|
||||
|
|
|
@ -86,6 +86,7 @@ layout_mode = 2
|
|||
[connection signal="delete_begin" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_shop_ui_delete_begin"]
|
||||
[connection signal="delete_begin" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameSafeUI/GameUI" method="_on_shop_ui_delete_begin"]
|
||||
[connection signal="delete_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="." method="_on_shop_ui_delete_cancel"]
|
||||
[connection signal="delete_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_shop_ui_delete_cancel"]
|
||||
[connection signal="delete_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameSafeUI/GameUI" method="_on_shop_ui_delete_cancel"]
|
||||
[connection signal="ghost_materialize" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_ghost_materialize"]
|
||||
[connection signal="ghost_requested" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_ghost_requested"]
|
||||
|
|
Loading…
Reference in a new issue