mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
some bug fixes
This commit is contained in:
parent
dd23394d52
commit
dee18a7c59
|
@ -57,7 +57,6 @@ func _on_FrameTagDialog_about_to_show() -> void:
|
|||
|
||||
func _on_FrameTagDialog_popup_hide() -> void:
|
||||
Global.dialog_open(false)
|
||||
Global.current_project.toggle_frame_buttons()
|
||||
|
||||
|
||||
func _on_AddTag_pressed() -> void:
|
||||
|
@ -136,6 +135,8 @@ func _on_TagOptions_confirmed() -> void:
|
|||
Global.current_project.undo_redo.add_undo_property(
|
||||
Global.current_project, "animation_tags", Global.current_project.animation_tags
|
||||
)
|
||||
Global.current_project.undo_redo.add_do_method(Global.current_project, "toggle_frame_buttons")
|
||||
Global.current_project.undo_redo.add_undo_method(Global.current_project, "toggle_frame_buttons")
|
||||
Global.current_project.undo_redo.commit_action()
|
||||
_on_FrameTagDialog_about_to_show()
|
||||
|
||||
|
@ -155,6 +156,12 @@ func _on_TagOptions_custom_action(action: String) -> void:
|
|||
Global.current_project.undo_redo.add_undo_property(
|
||||
Global.current_project, "animation_tags", Global.current_project.animation_tags
|
||||
)
|
||||
Global.current_project.undo_redo.add_do_method(
|
||||
Global.current_project, "toggle_frame_buttons"
|
||||
)
|
||||
Global.current_project.undo_redo.add_undo_method(
|
||||
Global.current_project, "toggle_frame_buttons"
|
||||
)
|
||||
Global.current_project.undo_redo.commit_action()
|
||||
|
||||
options_dialog.hide()
|
||||
|
|
Loading…
Reference in a new issue