Minor change in layer.lua

This commit is contained in:
David Capello 2019-08-28 09:19:11 -03:00
parent bb89bfbb7e
commit 7b24a14483

View File

@ -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)