You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
339B

  1. #pragma once
  2. #include "app/common.hpp"
  3. #include "app/Knob.hpp"
  4. namespace rack {
  5. struct SliderKnob : Knob {
  6. // Bypass Knob's circular hitbox detection
  7. void onHover(const event::Hover &e) override {
  8. ParamWidget::onHover(e);
  9. }
  10. void onButton(const event::Button &e) override {
  11. ParamWidget::onButton(e);
  12. }
  13. };
  14. } // namespace rack