Expose InMoveSize from WindowMoveHandler. (#3525)

This commit is contained in:
vldmr11080
2020-05-22 16:42:29 +02:00
committed by GitHub
parent c7fb1f6d17
commit 1792849b98
4 changed files with 18 additions and 10 deletions

View File

@@ -522,7 +522,7 @@ ZoneWindow::ShowZoneWindow() noexcept
std::thread{ [=]() {
AnimateWindow(window, m_showAnimationDuration, AW_BLEND);
InvalidateRect(window, nullptr, true);
if (m_windowMoveSize == nullptr)
if (!m_host->InMoveSize())
{
HideZoneWindow();
}