mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 11:38:03 +00:00
[MSPAINT] Mouse Wheel support (#4195)
Improve usability by mouse wheel handling. Plain wheel, Ctrl+Wheel, and Shift+Wheel. CORE-17937
This commit is contained in:
parent
29718e009a
commit
90c3f89bb2
10 changed files with 78 additions and 3 deletions
|
@ -255,7 +255,7 @@ LRESULT CToolSettingsWindow::OnToolsModelZoomChanged(UINT nMsg, WPARAM wParam, L
|
|||
int tbPos = 0;
|
||||
int tempZoom = toolsModel.GetZoom();
|
||||
|
||||
while (tempZoom > 125)
|
||||
while (tempZoom > MIN_ZOOM)
|
||||
{
|
||||
tbPos++;
|
||||
tempZoom = tempZoom >> 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue