#1 LStdScrollbarImp::TrackLiveThumb

open
nobody
None
5
2007-02-28
2007-02-28
Anonymous
No

There isn't a guarantee that StillDown will be true. It's not worth the dubious optimization.

--- PowerPlant/Appearance Classes/Std Implementations/LStdScrollBarImp.cp 2007-02-28 10:56:44.000000000 -0500
+++ PowerPlant/Appearance Classes/Std Implementations/LStdScrollBarImp.cp 2007-02-28 12:05:25.000000000 -0500
@@ -272,7 +272,7 @@

UControlMgr::SendControlMessage(mMacControlH, thumbCntl, &dragParams);

- SInt32 vValue;
+ SInt32 vValue = 0;
SInt32 vMin = mControlPane->GetMinValue();
SInt32 vMax = mControlPane->GetMaxValue();

Discussion