diff --git a/changelog.txt b/changelog.txt index bd23869..7b001e6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +================================================ +Version 0.9.5.9 - Alpha (May 8 - 2013) +================================================ +[FIXED] the slider event callback "OnRelease" not being called when the sliderbutton was released while being dragged in a non-hover state + ================================================ Version 0.9.5.8 - Alpha (May 5 - 2013) ================================================ diff --git a/init.lua b/init.lua index 3fc5855..263f1ae 100644 --- a/init.lua +++ b/init.lua @@ -12,7 +12,7 @@ loveframes = {} -- library info loveframes.info = {} loveframes.info.author = "Kenny Shields" -loveframes.info.version = "0.9.5.8" +loveframes.info.version = "0.9.5.9" loveframes.info.stage = "Alpha" -- library configurations diff --git a/objects/internal/sliderbutton.lua b/objects/internal/sliderbutton.lua index 14807af..049f1e0 100644 --- a/objects/internal/sliderbutton.lua +++ b/objects/internal/sliderbutton.lua @@ -220,7 +220,7 @@ function newobject:mousereleased(x, y, button) local down = self.down local dragging = self.dragging - if down and dragging then + if dragging then local parent = self.parent local onrelease = parent.OnRelease if onrelease then