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