mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 01:32:34 +00:00
Need to initialize tracking value on mousedown.
This commit is contained in:
parent
c78902221f
commit
a3b5780491
@ -1023,6 +1023,9 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
|
||||
SCROLL_TrackingWin = hwnd;
|
||||
SCROLL_TrackingBar = nBar;
|
||||
SCROLL_TrackingPos = trackThumbPos + lastMousePos - lastClickPos;
|
||||
SCROLL_TrackingVal = SCROLL_GetThumbVal( infoPtr, &rect,
|
||||
vertical,
|
||||
SCROLL_TrackingPos );
|
||||
if (!SCROLL_MovingThumb)
|
||||
SCROLL_DrawMovingThumb(hdc, &rect, vertical, arrowSize, thumbSize);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user