mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 13:54:44 -04:00
Fixed issue where new images had the size of the previous project
This commit is contained in:
parent
66feec8f21
commit
8118381b0b
4 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
class_name Cel extends Reference
|
||||
# A class for cel properties
|
||||
# A class for cel properties.
|
||||
# The term "cel" comes from "celluloid" (https://en.wikipedia.org/wiki/Cel).
|
||||
# The "image" variable is where the image data of each cel are.
|
||||
|
||||
|
||||
var image : Image setget image_changed
|
||||
|
|
|
@ -5,5 +5,6 @@ class_name Frame extends Reference
|
|||
|
||||
var cels : Array # An array of Cels
|
||||
|
||||
|
||||
func _init(_cels := []) -> void:
|
||||
cels = _cels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue