diff --git a/sources/SquirrelPanel.swift b/sources/SquirrelPanel.swift index 5fef16c76..008ba640b 100644 --- a/sources/SquirrelPanel.swift +++ b/sources/SquirrelPanel.swift @@ -119,7 +119,7 @@ final class SquirrelPanel: NSPanel { if abs(scrollDirection.dx) > abs(scrollDirection.dy) && abs(scrollDirection.dx) > 10 { _ = inputController?.page(up: (scrollDirection.dx < 0) == vertical) } else if abs(scrollDirection.dx) < abs(scrollDirection.dy) && abs(scrollDirection.dy) > 10 { - _ = inputController?.page(up: scrollDirection.dx > 0) + _ = inputController?.page(up: scrollDirection.dy > 0) } scrollDirection = .zero // Mouse scroll wheel