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

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