From ed39a41b61b523095274e36760e8332e2cba5271 Mon Sep 17 00:00:00 2001 From: Gadfly Date: Tue, 14 May 2024 10:51:15 +0800 Subject: [PATCH] fix: DoubleTapped on launcherTabsScroller not triggered correctly --- src/Views/Launcher.axaml.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Views/Launcher.axaml.cs b/src/Views/Launcher.axaml.cs index 17a5e78a..fd6fd690 100644 --- a/src/Views/Launcher.axaml.cs +++ b/src/Views/Launcher.axaml.cs @@ -223,7 +223,10 @@ namespace SourceGit.Views private void BeginMoveWindow(object sender, PointerPressedEventArgs e) { - BeginMoveDrag(e); + if (e.ClickCount != 2) + { + BeginMoveDrag(e); + } } private void ScrollTabs(object sender, PointerWheelEventArgs e)