Fix lock bug when restoring windows

This commit is contained in:
Stone_Red
2025-01-21 01:03:00 +01:00
parent 1898148462
commit 24149dabef
+4 -3
View File
@@ -146,18 +146,19 @@ public partial class LockWindow : Window
{
Dispatcher.Invoke(() =>
{
suppressInput = false;
if (settings.HideWindows)
{
RestoreWindows();
}
isOpen = true;
textBlock.Text = settings.UnlockText;
textBlock.Stroke = (Brush)FindResource("PaletteGreenBrush");
Animation();
isOpen = true;
suppressInput = false;
});
}
}