Skip to content

Commit

Permalink
- Adding small wait before forcing window focus for Overlay Widget ed…
Browse files Browse the repository at this point in the history
…itor
  • Loading branch information
Matthew Olivo committed Sep 29, 2024
1 parent ec6ee44 commit 2c60763
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using StreamingClient.Base.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

Expand Down Expand Up @@ -125,6 +124,8 @@ await this.Window.RunAsyncOperation(async () =>
OverlayWidgetV3EditorWindow window = new OverlayWidgetV3EditorWindow(type);
window.Closed += Window_Closed;
window.Show();

await Task.Delay(500);
window.Focus();
}
});
Expand Down

0 comments on commit 2c60763

Please sign in to comment.