mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
small tweaks
This commit is contained in:
parent
a472725209
commit
36b7799f2e
2 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,10 @@ using System.Windows.Automation;
|
|||
using Flow.Launcher.Plugin.BrowserBookmark.Tabs;
|
||||
using static Flow.Launcher.Plugin.BrowserBookmark.Main;
|
||||
|
||||
/// <summary>
|
||||
/// TabsFocusEventDispatcher handles TabsTracker.OnFocusChanged events in a separate thread.
|
||||
/// This is to avoid sleeping in Automation.AddAutomationFocusChangedEventHandler.
|
||||
/// </summary>
|
||||
internal sealed class TabsFocusEventDispatcher : IDisposable
|
||||
{
|
||||
private static readonly string ClassName = nameof(TabsFocusEventDispatcher);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace Flow.Launcher.Plugin.BrowserBookmark.Tabs;
|
|||
internal class TabsWalker
|
||||
{
|
||||
private static readonly string ClassName = nameof(TabsWalker);
|
||||
private readonly TimeSpan _tabRetryTimeout = TimeSpan.FromSeconds(4);
|
||||
private readonly TimeSpan _tabRetryTimeout = TimeSpan.FromSeconds(5);
|
||||
private readonly TimeSpan _tabRetryInterval = TimeSpan.FromMilliseconds(250);
|
||||
private readonly TabsCache _cache = new();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue