From f11381d0efd244d359efcfc00bdffe6140414006 Mon Sep 17 00:00:00 2001 From: ArkadySK Date: Thu, 18 Aug 2022 20:48:51 +0200 Subject: [PATCH] fixed scrollbar not working --- GbxMapBrowser/MainWindow.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GbxMapBrowser/MainWindow.xaml.cs b/GbxMapBrowser/MainWindow.xaml.cs index d671535..6363b16 100644 --- a/GbxMapBrowser/MainWindow.xaml.cs +++ b/GbxMapBrowser/MainWindow.xaml.cs @@ -390,6 +390,8 @@ private void mapListBox_PreviewMouseMove(object sender, MouseEventArgs e) { if (e.LeftButton != MouseButtonState.Pressed) return; + if (e.OriginalSource is MahApps.Metro.Controls.MetroThumb) + return; // To avoid unintentional drag Point mousePosition = e.GetPosition(mapListBox);