Skip to content

Commit

Permalink
Set m_isPointerOver back to false in ResetPointerHelper (#6296)
Browse files Browse the repository at this point in the history
  • Loading branch information
jevansaks authored Nov 12, 2021
1 parent 68611fa commit f845f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/WebView2/WebView2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ void WebView2::ResetPointerHelper(const winrt::PointerRoutedEventArgs& args)

if (m_isPointerOver)
{
m_isPointerOver = true;
m_isPointerOver = false;
winrt::CoreWindow::GetForCurrentThread().PointerCursor(m_oldCursor);
m_oldCursor = nullptr;
}
Expand Down

0 comments on commit f845f4f

Please sign in to comment.