Skip to content

Commit

Permalink
chore: Whoops, how did that happen
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Jun 27, 2022
1 parent d49d4fc commit 717a37b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uno.UI.Runtime.Skia.Wpf/WpfHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ private void InvalidateOverlays()
}
}

void IWpfHost.ReleasePointerCapture() => CaptureMouse(); //TODO: This should capture the correct type of pointer (stylus/mouse/touch) #8978[capture]
void IWpfHost.ReleasePointerCapture() => ReleaseMouseCapture(); //TODO: This should capture the correct type of pointer (stylus/mouse/touch) #8978[capture]

void IWpfHost.SetPointerCapture() => ReleaseMouseCapture();
void IWpfHost.SetPointerCapture() => CaptureMouse();

//TODO: This will need to be adjusted when multi-window support is added. #8978[windows]
WinUI.XamlRoot? IWpfHost.XamlRoot => WinUI.Window.Current?.RootElement?.XamlRoot;
Expand Down

0 comments on commit 717a37b

Please sign in to comment.