mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-10-11 22:34:17 +00:00
fixed nil index error in tabbutton:initialize
This commit is contained in:
parent
bb5135c8e7
commit
12ba65041f
@ -32,7 +32,7 @@ function newobject:initialize(parent, text, tabnumber, tip, image, onopened, onc
|
||||
self.tooltip = loveframes.objects["tooltip"]:new(self, tip)
|
||||
self.tooltip:SetFollowCursor(false)
|
||||
self.tooltip:SetFollowObject(true)
|
||||
self.tooltip:SetOffsets(0, -(self.tooltip.text:GetHeight() + 12))
|
||||
self.tooltip:SetOffsets(0, -(self.tooltip.internals[1]:GetHeight() + 12))
|
||||
end
|
||||
|
||||
if image then
|
||||
|
Loading…
Reference in New Issue
Block a user