]> git.sesse.net Git - vlc/commit
skins2: fix RadialSlider (overflow)
authorErwan Tulou <erwan10@videolan.org>
Thu, 1 Jul 2010 13:45:42 +0000 (15:45 +0200)
committerErwan Tulou <erwan10@videolan.org>
Thu, 1 Jul 2010 13:50:17 +0000 (15:50 +0200)
commit35bbdac8fd599bf00a5024efc7aae67b99faaef1
tree3434fc9538618dff3e3cc2104aefc1bb99fbf26a
parentf14f66e9882633ac5fb675766d42eeaf208cd51b
skins2: fix RadialSlider (overflow)

position varies between 0 and (n-1) when n images are available.
This fixes the widget disappearing when slider was at 100%.
modules/gui/skins2/controls/ctrl_radialslider.cpp