diff --git a/src/app/RackScrollWidget.cpp b/src/app/RackScrollWidget.cpp index 33c9166c..73b74766 100644 --- a/src/app/RackScrollWidget.cpp +++ b/src/app/RackScrollWidget.cpp @@ -99,13 +99,13 @@ void RackScrollWidget::onHoverKey(const event::HoverKey& e) { return; // Scroll with arrow keys - float arrowSpeed = 30.0; + float arrowSpeed = 32.f; if ((e.mods & RACK_MOD_MASK) == (RACK_MOD_CTRL | GLFW_MOD_SHIFT)) - arrowSpeed /= 16.0; + arrowSpeed /= 16.f; if ((e.mods & RACK_MOD_MASK) == RACK_MOD_CTRL) - arrowSpeed *= 4.0; + arrowSpeed *= 4.f; if ((e.mods & RACK_MOD_MASK) == GLFW_MOD_SHIFT) - arrowSpeed /= 4.0; + arrowSpeed /= 4.f; if (e.action == RACK_HELD) { if (e.key == GLFW_KEY_LEFT) {