Skip to content

Commit 7fc6344

Browse files
authored
Fix: Corrected inverted scrolling behavior for icon size adjustment (#16015)
1 parent 9ecf257 commit 7fc6344

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Files.App/ViewModels/Layouts/BaseLayoutViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ private void PointerWheelChanged(PointerRoutedEventArgs e)
7676

7777
// Mouse wheel down
7878
if (delta < 0)
79-
Commands.LayoutIncreaseSize.ExecuteAsync();
79+
Commands.LayoutDecreaseSize.ExecuteAsync();
8080
// Mouse wheel up
8181
else if (delta > 0)
82-
Commands.LayoutDecreaseSize.ExecuteAsync();
82+
Commands.LayoutIncreaseSize.ExecuteAsync();
8383

8484
e.Handled = true;
8585
}

0 commit comments

Comments
 (0)