mirror of
https://github.com/Stone-Red-Code/InvLock.git
synced 2026-09-04 09:06:13 +02:00
Fix lock bug when restoring windows
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user