[FancyZones] Fix a regression with Chrome tabs jamming FZ (#3338)

This commit is contained in:
Ivan Stošić 2020-05-20 18:52:48 +02:00 committed by GitHub
parent 32b8a344a6
commit e249bc5856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -522,6 +522,10 @@ ZoneWindow::ShowZoneWindow() noexcept
std::thread{ [=]() { std::thread{ [=]() {
AnimateWindow(window, m_showAnimationDuration, AW_BLEND); AnimateWindow(window, m_showAnimationDuration, AW_BLEND);
InvalidateRect(window, nullptr, true); InvalidateRect(window, nullptr, true);
if (m_windowMoveSize == nullptr)
{
HideZoneWindow();
}
} }.detach(); } }.detach();
} }