mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Fixed issue with merge down layer, the other frames were not being updated
This commit is contained in:
parent
9ca564cfe1
commit
772e16bb4d
|
@ -264,8 +264,9 @@ func _on_MergeDownLayer_pressed() -> void:
|
||||||
Global.undo_redo.add_undo_property(Global, "layers", Global.layers)
|
Global.undo_redo.add_undo_property(Global, "layers", Global.layers)
|
||||||
Global.undo_redo.add_undo_property(Global, "current_layer", Global.current_layer)
|
Global.undo_redo.add_undo_property(Global, "current_layer", Global.current_layer)
|
||||||
|
|
||||||
Global.undo_redo.add_undo_method(Global, "undo", [Global.canvas])
|
for c in Global.canvases:
|
||||||
Global.undo_redo.add_do_method(Global, "redo", [Global.canvas])
|
Global.undo_redo.add_undo_method(Global, "undo", [c])
|
||||||
|
Global.undo_redo.add_do_method(Global, "redo", [c])
|
||||||
Global.undo_redo.commit_action()
|
Global.undo_redo.commit_action()
|
||||||
|
|
||||||
func _on_OpacitySlider_value_changed(value) -> void:
|
func _on_OpacitySlider_value_changed(value) -> void:
|
||||||
|
|
Loading…
Reference in a new issue