mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:44:42 -04:00
Add ZSTD compression to save files. Move clear_canvases() to Global.gd
This commit is contained in:
parent
237b8c1507
commit
99f847e732
3 changed files with 20 additions and 18 deletions
|
@ -30,7 +30,7 @@ func _on_CreateNewImage_confirmed() -> void:
|
|||
var width : int = width_value.value
|
||||
var height : int = height_value.value
|
||||
var fill_color : Color = fill_color_node.color
|
||||
Global.control.clear_canvases()
|
||||
Global.clear_canvases()
|
||||
Global.layers.clear()
|
||||
# Store [Layer name (0), Layer visibility boolean (1), Layer lock boolean (2), Frame container (3),
|
||||
# will new frames be linked boolean (4), Array of linked frames (5)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue