Hot Door CORE Forum
Slider bug - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bugs (http://hotdoorcore.com/forum/forumdisplay.php?fid=5)
+--- Thread: Slider bug (/showthread.php?tid=19)



Slider bug - Gaxx - 05-12-2014

Hello. Slider class has this constructor in your API
Slider (const Point &loc_, const double value_, const double width_)

while in reality it works like this:
Slider (const Point &loc_, const double width_, const double value_)

I guess second and third parameters got mixed up.


RE: Slider bug - garrett - 05-12-2014

(05-12-2014, 01:41 AM)Gaxx Wrote: Hello. Slider class has this constructor in your API
Slider (const Point &loc_, const double value_, const double width_)

while in reality it works like this:
Slider (const Point &loc_, const double width_, const double value_)

I guess second and third parameters got mixed up.

Thanks for reporting this bug. This will be fixed in an upcoming 0.5.3 update, probably later next week.

The argument order in the header is the intended order, so be aware that you'll need to swap your arguments once updated. Sorry for any inconvenience!


RE: Slider bug - garrett - 05-19-2014

I just thought I'd let you know that 0.5.3 is now available, and addresses this issue! You can see more info in the announcement thread.