diff --git a/src/ui/ScrollWidget.cpp b/src/ui/ScrollWidget.cpp index 1aeb4c80..ebf41d0e 100644 --- a/src/ui/ScrollWidget.cpp +++ b/src/ui/ScrollWidget.cpp @@ -102,8 +102,11 @@ void ScrollWidget::onHoverScroll(const event::HoverScroll &e) { math::Vec scrollDelta = e.scrollDelta; // Flip coordinates if shift is held + // Mac (or GLFW?) already does this for us. +#if !defined ARCH_MAC if ((APP->window->getMods() & RACK_MOD_MASK) == GLFW_MOD_SHIFT) scrollDelta = scrollDelta.flip(); +#endif offset = offset.minus(scrollDelta); e.consume(this);