[AOT]Fix for flickering border (#19362)

This commit is contained in:
Davide Giacometti 2022-07-15 11:16:32 +02:00 committed by GitHub
parent 98d312a9d4
commit 0c78b12f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,8 +133,9 @@ bool WindowBorder::Init(HINSTANCE hinstance)
return false;
}
UpdateBorderProperties();
m_frameDrawer->Show();
UpdateBorderPosition();
UpdateBorderProperties();
m_timer_id = SetTimer(m_window, REFRESH_BORDER_TIMER_ID, REFRESH_BORDER_INTERVAL, nullptr);
return true;