diff --git a/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp b/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp index 5b731dda..7733c04d 100644 --- a/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp +++ b/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp @@ -137,7 +137,7 @@ void LookAndFeel::drawRotarySliderBase (juce::Graphics& g, const auto pointerThickness = radius * .066f; const auto pointerX = -pointerThickness * 0.5f; const auto initialPointerY = -radius; - const auto sliderEdgeOffset = juce::roundToInt (juce::jmax ((rw * .05f), 1.0f)); + const auto sliderEdgeOffset = juce::roundToInt (juce::jmax ((radius * .1f), 1.0f)); const auto pointerY = initialPointerY + sliderEdgeOffset; const auto cornerSize = pointerThickness * .35f;