mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Minor change in layer.lua
This commit is contained in:
parent
bb89bfbb7e
commit
7b24a14483
@ -1,11 +1,12 @@
|
|||||||
-- Copyright (C) 2018 David Capello
|
-- Copyright (C) 2019 Igara Studio S.A.
|
||||||
--
|
--
|
||||||
-- This file is released under the terms of the MIT license.
|
-- This file is released under the terms of the MIT license.
|
||||||
-- Read LICENSE.txt for more information.
|
-- Read LICENSE.txt for more information.
|
||||||
|
|
||||||
do
|
do
|
||||||
local a = Sprite(32, 64)
|
local s = Sprite(32, 64)
|
||||||
local l = a.layers[1]
|
local l = s.layers[1]
|
||||||
|
assert(l.parent == s)
|
||||||
assert(l.opacity == 255)
|
assert(l.opacity == 255)
|
||||||
assert(l.blendMode == BlendMode.NORMAL)
|
assert(l.blendMode == BlendMode.NORMAL)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user