mirror of
https://github.com/Stone-Red-Code/InvLock.git
synced 2026-09-06 07:46:24 +02:00
Fix lock bug when restoring windows
This commit is contained in:
@@ -146,18 +146,19 @@ public partial class LockWindow : Window
|
|||||||
{
|
{
|
||||||
Dispatcher.Invoke(() =>
|
Dispatcher.Invoke(() =>
|
||||||
{
|
{
|
||||||
|
suppressInput = false;
|
||||||
|
|
||||||
if (settings.HideWindows)
|
if (settings.HideWindows)
|
||||||
{
|
{
|
||||||
RestoreWindows();
|
RestoreWindows();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isOpen = true;
|
||||||
|
|
||||||
textBlock.Text = settings.UnlockText;
|
textBlock.Text = settings.UnlockText;
|
||||||
textBlock.Stroke = (Brush)FindResource("PaletteGreenBrush");
|
textBlock.Stroke = (Brush)FindResource("PaletteGreenBrush");
|
||||||
|
|
||||||
Animation();
|
Animation();
|
||||||
|
|
||||||
isOpen = true;
|
|
||||||
suppressInput = false;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user