mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 14:59:16 +08:00
Fix modifier keys not changing until restart
This commit is contained in:
parent
ec2005123a
commit
4426f5f688
@ -5642,6 +5642,13 @@ LRESULT APIENTRY MainWndProc(
|
||||
|
||||
// Apply hotkey settings
|
||||
UnregisterAllHotkeys(hWnd);
|
||||
g_ToggleMod = GetKeyMod(g_ToggleKey);
|
||||
g_LiveZoomToggleMod = GetKeyMod(g_LiveZoomToggleKey);
|
||||
g_DrawToggleMod = GetKeyMod(g_DrawToggleKey);
|
||||
g_BreakToggleMod = GetKeyMod(g_BreakToggleKey);
|
||||
g_DemoTypeToggleMod = GetKeyMod(g_DemoTypeToggleKey);
|
||||
g_SnipToggleMod = GetKeyMod(g_SnipToggleKey);
|
||||
g_RecordToggleMod = GetKeyMod(g_RecordToggleKey);
|
||||
RegisterAllHotkeys(hWnd);
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user