Skip to content

Commit

Permalink
fixed scrollbar not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ArkadySK committed Aug 18, 2022
1 parent 21c6da6 commit f11381d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GbxMapBrowser/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f11381d

Please sign in to comment.