mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
column list works as expected
This commit is contained in:
parent
5bf0653b45
commit
9961707349
@ -129,6 +129,10 @@ function newobject:draw()
|
|||||||
-- set the object's draw order
|
-- set the object's draw order
|
||||||
self:SetDrawOrder()
|
self:SetDrawOrder()
|
||||||
|
|
||||||
|
love.graphics.setStencilMode("replace", "always", 1) -- start stencil
|
||||||
|
stencilfunc()
|
||||||
|
love.graphics.setStencilMode("keep", "greater", 0)
|
||||||
|
|
||||||
local drawfunc = self.Draw or self.drawfunc
|
local drawfunc = self.Draw or self.drawfunc
|
||||||
if drawfunc then
|
if drawfunc then
|
||||||
drawfunc(self)
|
drawfunc(self)
|
||||||
@ -141,10 +145,6 @@ function newobject:draw()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
love.graphics.setStencilMode("replace", "always", 1) -- start stencil
|
|
||||||
stencilfunc()
|
|
||||||
love.graphics.setStencilMode("keep", "greater", 0)
|
|
||||||
|
|
||||||
local children = self.children
|
local children = self.children
|
||||||
if children then
|
if children then
|
||||||
for k, v in ipairs(children) do
|
for k, v in ipairs(children) do
|
||||||
|
Loading…
Reference in New Issue
Block a user