mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-15 19:52:05 +00:00
Test Sprite.bounds
This commit is contained in:
parent
eeb2149c17
commit
01c9605a8c
@ -8,6 +8,7 @@ do
|
||||
assert(a.width == 32)
|
||||
assert(a.height == 64)
|
||||
assert(a.colorMode == ColorMode.RGB) -- RGB by default
|
||||
assert(a.bounds == Rectangle{x=0, y=0, width=32, height=64})
|
||||
|
||||
-- Crop and resize
|
||||
a.selection:select(2, 3, 4, 5)
|
||||
|
Loading…
Reference in New Issue
Block a user