mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 22:54:44 -04:00
Fixed issue where the wrong amount of cels were being created
The new image's frames had as many cels as the previously selected project
This commit is contained in:
parent
d37b07db5d
commit
7a61f1ea4a
3 changed files with 7 additions and 3 deletions
|
@ -74,7 +74,7 @@ func _on_CreateNewImage_confirmed() -> void:
|
|||
var height : int = height_value.value
|
||||
var fill_color : Color = fill_color_node.color
|
||||
|
||||
var frame : Frame = Global.canvas.new_empty_frame()
|
||||
var frame : Frame = Global.canvas.new_empty_frame(false, true)
|
||||
Global.projects.append(Project.new([frame]))
|
||||
Global.tabs.current_tab = Global.tabs.get_tab_count() - 1
|
||||
Global.current_project.size = Vector2(width, height).floor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue