mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
e825cc03e5
- UndoRedo for Add/Remove/Clone/Move Frames - Set functions for frame changes (both on canvases and Global.current_frame) - Removed unneeded signal methods and put multiple signals on one method instead (for example, add and clone layer button signals both connect to add_layer()) - Fixed bug where, if you opened a .pxo file with multiple frames, the remove frame button would be disabled. - Probably other small things that I'm forgetting to mention
7 lines
102 B
GDScript
7 lines
102 B
GDScript
extends Button
|
|
|
|
var frame := 0
|
|
|
|
func _on_FrameButton_pressed() -> void:
|
|
Global.current_frame = frame
|