fix: Fixed ScrollViewer rebounding when scrolling to the right

This commit is contained in:
Gadfly 2024-05-11 21:51:57 +08:00
parent 3fffb0b229
commit e5516b5b9f
No known key found for this signature in database
GPG key ID: 9128145F93CFC69C

View file

@ -232,7 +232,7 @@ namespace SourceGit.Views
{ {
if (e.Delta.Y < 0) if (e.Delta.Y < 0)
launcherTabsScroller.LineRight(); launcherTabsScroller.LineRight();
else else if (e.Delta.Y > 0)
launcherTabsScroller.LineLeft(); launcherTabsScroller.LineLeft();
e.Handled = true; e.Handled = true;
} }