[FancyZones] Fixed shift behavior (#4653)

This commit is contained in:
Yevhenii Holovachov 2020-07-01 18:23:57 +03:00 committed by GitHub
parent 4c08b591f1
commit e8685de7f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,10 +174,7 @@ void WindowMoveHandlerPrivate::MoveSizeStart(HWND window, HMONITOR monitor, POIN
m_mouseHook->enable();
}
if (m_settings->GetSettings()->shiftDrag)
{
m_shiftHook->enable();
}
m_shiftHook->enable();
// This updates m_dragEnabled depending on if the shift key is being held down.
UpdateDragState(window);