Avoid flickering #1628

This commit is contained in:
ema
2025-05-14 03:33:45 +08:00
parent 4170dc7a16
commit f7b22fb600

View File

@@ -71,14 +71,9 @@ public partial class ViewerWindow : INotifyPropertyChanged
{ {
Dispatcher?.Invoke(() => Dispatcher?.Invoke(() =>
{ {
// We can not update the Title anytime // We can not update the Title when ShowInTaskbar is false
// https://github.com/QL-Win/QuickLook/issues/1628 // https://github.com/QL-Win/QuickLook/issues/1628
if (ContextObject.IsBusy) Title = $"QuickLook - {ContextObject.Title}";
{
ShowInTaskbar = true;
Title = $"QuickLook - {ContextObject.Title}";
ShowInTaskbar = false;
}
}); });
} }
break; break;