From: Jeffrey D. <ha...@us...> - 2003-09-23 05:24:01
|
Log Message: ----------- off by one Modified Files: -------------- /cvsroot/decaldev/source/DecalControls: Slider.cpp Revision Data ------------- Index: Slider.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalControls/Slider.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Slider.cpp 23 Sep 2003 05:18:30 -0000 1.6 +++ Slider.cpp 23 Sep 2003 05:23:58 -0000 1.7 @@ -490,7 +490,7 @@ // I personally like being able to drag the slider // PAST THE EDGE OF THE SLIDE BAR without needing pixel accuracy... - if( pt.x > m_rcBar.right ) + if( pt.x >= m_rcBar.right ) m_nSliderPos = m_nMaximum; Reformat(); |