Skip to content

Commit

Permalink
Proper fix / workaround for the browser focus hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantom5800 committed Dec 21, 2021
1 parent 6fe74dc commit 368be4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LiveSplit.SpeedGuidesLive/src/SGLGuideWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ private void Document_MouseDown(object sender, HtmlElementEventArgs e)
/// </summary>
private void Browser_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
if (Focused)
if (Focused || Browser.Focused)
{
// This is definitely a hack, but the browser is grabbing focus from key down events while splitting.
// Putting this inside a focus event disables the ability to move and resize the window, however,
Expand Down

0 comments on commit 368be4f

Please sign in to comment.