Skip to content

Commit

Permalink
Remove unused Slider arg from drawRotarySliderBase
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseDiazRohena committed Jan 5, 2024
1 parent d829086 commit a30da39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ void LookAndFeel::drawDrawableKnob (juce::Graphics& g,
void LookAndFeel::drawRotarySliderBase (juce::Graphics& g,
const float radius,
const float toAngle,
const juce::Rectangle<float> bounds,
juce::Slider&)
const juce::Rectangle<float> bounds)
{
const auto centreX = bounds.getCentreX();
const auto centreY = bounds.getCentreY();
Expand Down Expand Up @@ -189,7 +188,7 @@ void LookAndFeel::drawRotarySlider (juce::Graphics& g,

const auto knobRadius = arcRadius * .80f;

drawRotarySliderBase (g, knobRadius, toAngle, bounds, slider);
drawRotarySliderBase (g, knobRadius, toAngle, bounds);
}

juce::Font LookAndFeel::getTextButtonFont (juce::TextButton&, int buttonHeight)
Expand Down
3 changes: 1 addition & 2 deletions libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ class LookAndFeel : public juce::LookAndFeel_V4,
void drawRotarySliderBase (juce::Graphics& g,
const float radius,
const float toAngle,
const juce::Rectangle<float> bounds,
juce::Slider&);
const juce::Rectangle<float> bounds);

FontHolder fontHolder;

Expand Down

0 comments on commit a30da39

Please sign in to comment.