From 717a37b1a3a0e2311e1c5f44ebcc2ae681be6ae4 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Mon, 27 Jun 2022 16:20:52 +0200 Subject: [PATCH] chore: Whoops, how did that happen --- src/Uno.UI.Runtime.Skia.Wpf/WpfHost.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Uno.UI.Runtime.Skia.Wpf/WpfHost.cs b/src/Uno.UI.Runtime.Skia.Wpf/WpfHost.cs index f00a12eb8952..e01361a809b4 100644 --- a/src/Uno.UI.Runtime.Skia.Wpf/WpfHost.cs +++ b/src/Uno.UI.Runtime.Skia.Wpf/WpfHost.cs @@ -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;