Scroll the textwindow when the mousewheel moves.
[git-p4: depot-paths = "//depot/solvespace/": change = 1856]
This commit is contained in:
parent
ddf2b30b98
commit
ea7ffd4b2a
@ -441,6 +441,12 @@ done:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case WM_MOUSEWHEEL: {
|
||||||
|
int delta = GET_WHEEL_DELTA_WPARAM(wParam);
|
||||||
|
HandleTextWindowScrollBar(delta > 0 ? SB_LINEUP : SB_LINEDOWN, 0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case WM_VSCROLL:
|
case WM_VSCROLL:
|
||||||
HandleTextWindowScrollBar(wParam, lParam);
|
HandleTextWindowScrollBar(wParam, lParam);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user