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.

23 lines
374B

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