Merge pull request #129 from gadfly3173/fix/launcher-dbclick

fix: DoubleTapped on launcherTabsScroller not triggered correctly
This commit is contained in:
leo 2024-05-14 19:34:06 +08:00 committed by GitHub
commit bb557cdebe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,9 +222,12 @@ namespace SourceGit.Views
} }
private void BeginMoveWindow(object sender, PointerPressedEventArgs e) private void BeginMoveWindow(object sender, PointerPressedEventArgs e)
{
if (e.ClickCount != 2)
{ {
BeginMoveDrag(e); BeginMoveDrag(e);
} }
}
private void ScrollTabs(object sender, PointerWheelEventArgs e) private void ScrollTabs(object sender, PointerWheelEventArgs e)
{ {