mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 00:23:48 +00:00
Check that app.range:clear() reset the selected colors
This commit is contained in:
parent
58dccdaff2
commit
52a3fe55ae
@ -108,4 +108,11 @@ do
|
||||
assert(#r.frames == 1)
|
||||
assert(r.layers[1] == app.activeLayer)
|
||||
assert(r.frames[1] == app.activeFrame)
|
||||
|
||||
-- Check that Range:clear() reset the selected colors
|
||||
r.colors = { 2 }
|
||||
assert(#r.colors == 1)
|
||||
assert(r.colors[1] == 2)
|
||||
r:clear()
|
||||
assert(#r.colors == 0)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user