[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:
Katayama Hirofumi MZ 2021-12-27 22:20:22 +09:00 committed by GitHub
parent 29718e009a
commit 90c3f89bb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 78 additions and 3 deletions

View file

@ -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;