1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fixed issue with merge down layer, the other frames were not being updated

This commit is contained in:
OverloadedOrama 2020-03-22 00:29:47 +02:00
parent 9ca564cfe1
commit 772e16bb4d

View file

@ -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, "current_layer", Global.current_layer)
Global.undo_redo.add_undo_method(Global, "undo", [Global.canvas])
Global.undo_redo.add_do_method(Global, "redo", [Global.canvas])
for c in Global.canvases:
Global.undo_redo.add_undo_method(Global, "undo", [c])
Global.undo_redo.add_do_method(Global, "redo", [c])
Global.undo_redo.commit_action()
func _on_OpacitySlider_value_changed(value) -> void: