From 33fd22b1b2b96dd38de265ab0cb18f2496c5b857 Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Wed, 8 May 2013 05:13:01 -0400 Subject: [PATCH] Version 0.9.5.9 - Alpha (see changelog.txt) --- changelog.txt | 5 +++++ init.lua | 2 +- objects/internal/sliderbutton.lua | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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