diff --git a/changelog.txt b/changelog.txt index 1da68ae..6c0b732 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) ================================================ diff --git a/init.lua b/init.lua index fadbbf9..af1b09f 100644 --- a/init.lua +++ b/init.lua @@ -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 diff --git a/objects/list.lua b/objects/list.lua index 2509039..17b4a10 100644 --- a/objects/list.lua +++ b/objects/list.lua @@ -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