Fixed a bug that caused scrollbars to always autoscroll

This commit is contained in:
Kenny Shields 2012-05-16 06:36:01 -04:00
parent 2b4ed1bd76
commit 8dec80ae63
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
================================================
Version 0.9.1.5 - Alpha (May 16 - 2012)
================================================
[FIXED] a bug that caused scrollbars to always autoscroll
================================================
Version 0.9.1.4 - Alpha (May 16 - 2012)
================================================

View File

@ -9,7 +9,7 @@ loveframes = {}
-- library info
loveframes.info = {}
loveframes.info.author = "Nikolai Resokav"
loveframes.info.version = "0.9.1.4"
loveframes.info.version = "0.9.1.5"
loveframes.info.stage = "Alpha"
-- library configurations

View File

@ -262,7 +262,7 @@ function list:CalculateSize()
local scrollbar = scrollbody:new(self, display)
table.insert(self.internals, scrollbar)
self.vbar = true
self:GetScrollBar().autoscroll = true
self:GetScrollBar().autoscroll = self.autoscroll
end
else
@ -291,7 +291,7 @@ function list:CalculateSize()
local scrollbar = scrollbody:new(self, display)
table.insert(self.internals, scrollbar)
self.hbar = true
self:GetScrollBar().autoscroll = true
self:GetScrollBar().autoscroll = self.autoscroll
end
else