Add RefreshMaxmizeResotreButton in Onload

This commit is contained in:
DB p 2021-11-17 08:16:58 +09:00
parent f4974fbcab
commit 5bbe5f5e8f

View file

@ -40,6 +40,7 @@ namespace Flow.Launcher
#region General
private void OnLoaded(object sender, RoutedEventArgs e)
{
RefreshMaximizeRestoreButton();
// Fix (workaround) for the window freezes after lock screen (Win+L)
// https://stackoverflow.com/questions/4951058/software-rendering-mode-wpf
HwndSource hwndSource = PresentationSource.FromVisual(this) as HwndSource;