mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-12-11 07:24:24 +00:00
Fixed list:SetAutoScroll() not working
This commit is contained in:
parent
fd92ff0f12
commit
2b4ed1bd76
@ -1,3 +1,8 @@
|
|||||||
|
================================================
|
||||||
|
Version 0.9.1.4 - Alpha (May 16 - 2012)
|
||||||
|
================================================
|
||||||
|
[FIXED] list:SetAutoScroll() not working
|
||||||
|
|
||||||
================================================
|
================================================
|
||||||
Version 0.9.1.3 - Alpha (May 14 - 2012)
|
Version 0.9.1.3 - Alpha (May 14 - 2012)
|
||||||
================================================
|
================================================
|
||||||
|
2
init.lua
2
init.lua
@ -9,7 +9,7 @@ loveframes = {}
|
|||||||
-- library info
|
-- library info
|
||||||
loveframes.info = {}
|
loveframes.info = {}
|
||||||
loveframes.info.author = "Nikolai Resokav"
|
loveframes.info.author = "Nikolai Resokav"
|
||||||
loveframes.info.version = "0.9.1.3"
|
loveframes.info.version = "0.9.1.4"
|
||||||
loveframes.info.stage = "Alpha"
|
loveframes.info.stage = "Alpha"
|
||||||
|
|
||||||
-- library configurations
|
-- library configurations
|
||||||
|
@ -260,9 +260,9 @@ function list:CalculateSize()
|
|||||||
|
|
||||||
if vbar == false then
|
if vbar == false then
|
||||||
local scrollbar = scrollbody:new(self, display)
|
local scrollbar = scrollbody:new(self, display)
|
||||||
scrollbar.autoscroll = self.autoscroll
|
|
||||||
table.insert(self.internals, scrollbar)
|
table.insert(self.internals, scrollbar)
|
||||||
self.vbar = true
|
self.vbar = true
|
||||||
|
self:GetScrollBar().autoscroll = true
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
@ -289,9 +289,9 @@ function list:CalculateSize()
|
|||||||
|
|
||||||
if hbar == false then
|
if hbar == false then
|
||||||
local scrollbar = scrollbody:new(self, display)
|
local scrollbar = scrollbody:new(self, display)
|
||||||
scrollbar.autoscroll = self.autoscroll
|
|
||||||
table.insert(self.internals, scrollbar)
|
table.insert(self.internals, scrollbar)
|
||||||
self.hbar = true
|
self.hbar = true
|
||||||
|
self:GetScrollBar().autoscroll = true
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user