mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Reduce variable usage in Frame:MakeTop fix
This commit is contained in:
parent
1642d10816
commit
b564f42a83
@ -767,7 +767,7 @@ function newobject:MakeTop()
|
|||||||
local numbasechildren = #basechildren
|
local numbasechildren = #basechildren
|
||||||
|
|
||||||
-- check to see if the object's parent is not the base object
|
-- check to see if the object's parent is not the base object
|
||||||
if loveframes.parent ~= loveframes.base then
|
if self.parent ~= loveframes.base then
|
||||||
local baseparent = self:GetBaseParent()
|
local baseparent = self:GetBaseParent()
|
||||||
if baseparent.type == "frame" then
|
if baseparent.type == "frame" then
|
||||||
baseparent:MakeTop()
|
baseparent:MakeTop()
|
||||||
|
Loading…
Reference in New Issue
Block a user