mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-03 21:49:03 +00:00
Use ColorMode.GRAY instead of ColorMode.GRAYSCALE
This commit is contained in:
parent
8e66b83319
commit
f643a93998
@ -1,11 +1,12 @@
|
||||
-- Copyright (C) 2018 Igara Studio S.A.
|
||||
-- Copyright (C) 2018 David Capello
|
||||
--
|
||||
-- This file is released under the terms of the MIT license.
|
||||
-- Read LICENSE.txt for more information.
|
||||
|
||||
do
|
||||
local spec = ImageSpec{colorMode=ColorMode.GRAYSCALE, width=32, height=64, transparentColor=2}
|
||||
assert(spec.colorMode == ColorMode.GRAYSCALE)
|
||||
local spec = ImageSpec{colorMode=ColorMode.GRAY, width=32, height=64, transparentColor=2}
|
||||
assert(spec.colorMode == ColorMode.GRAY)
|
||||
assert(spec.width == 32)
|
||||
assert(spec.height == 64)
|
||||
assert(spec.transparentColor == 2)
|
||||
|
Loading…
Reference in New Issue
Block a user