mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:26:31 +00:00
failsafe load dlls
add user config queue offsets throttle improvements
This commit is contained in:
@@ -261,11 +261,11 @@ public partial class Annotator
|
||||
_appConfig.UIConfig.LeftPanelWidth = MainGrid.ColumnDefinitions.FirstOrDefault()!.Width.Value;
|
||||
_appConfig.UIConfig.RightPanelWidth = MainGrid.ColumnDefinitions.LastOrDefault()!.Width.Value;
|
||||
|
||||
await ThrottleExt.ThrottleRunFirst(() =>
|
||||
await ThrottleExt.Throttle(() =>
|
||||
{
|
||||
_configUpdater.Save(_appConfig);
|
||||
return Task.CompletedTask;
|
||||
}, SaveConfigTaskId, TimeSpan.FromSeconds(5));
|
||||
}, TimeSpan.FromSeconds(5));
|
||||
}
|
||||
|
||||
private void ShowTimeAnnotations(TimeSpan time)
|
||||
|
||||
Reference in New Issue
Block a user