Skip to content

0.31.0-alpha.1361+3976b32

@jyoung4242 jyoung4242 tagged this 03 Feb 02:48
### SpriteSheet.ts
- modified  SpriteSheetSpacingDimensions originOffset and margin to accept optional Vectors
- modified fromImageSource to test for instance of Vector and handle it properly, while maintaining backward compatibility

### SpriteSheetSpec.ts
- added test: `can be created from with spacing using vectors`

### Updated docs entry on Spritesheets to note that Vectors are now allowed

Ran locally and verified functionality using both vec() and new Vector


---------

Co-authored-by: Erik Onarheim <[email protected]>
Assets 2
Loading