[SHIMGVW] Check VK_CONTROL on ImageView_OnMouseWheel

CORE-19358
This commit is contained in:
Katayama Hirofumi MZ 2023-12-08 15:03:18 +09:00
parent 77ab709b61
commit 0faa1561a6

View file

@ -962,7 +962,8 @@ ImageView_OnMouseWheel(HWND hwnd, INT x, INT y, INT zDelta, UINT fwKeys)
{
if (zDelta != 0)
{
ZoomInOrOut(zDelta > 0);
if (GetKeyState(VK_CONTROL) < 0)
ZoomInOrOut(zDelta > 0);
}
}