Skip to content

Commit f11381d

Browse files
committed
fixed scrollbar not working
1 parent 21c6da6 commit f11381d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GbxMapBrowser/MainWindow.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ private void mapListBox_PreviewMouseMove(object sender, MouseEventArgs e)
390390
{
391391
if (e.LeftButton != MouseButtonState.Pressed)
392392
return;
393+
if (e.OriginalSource is MahApps.Metro.Controls.MetroThumb)
394+
return;
393395

394396
// To avoid unintentional drag
395397
Point mousePosition = e.GetPosition(mapListBox);

0 commit comments

Comments
 (0)