mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 05:23:14 +00:00
- 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
6 lines
102 B
GDScript
6 lines
102 B
GDScript
extends Button
|
|
|
|
var frame := 0
|
|
|
|
func _on_FrameButton_pressed() -> void:
|
|
Global.current_frame = frame
|