Browse Source

Slider: Fix linear bar slider outline

v7.0.9
Anthony Nicholls 2 years ago
parent
commit
21aca5ba3e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.cpp

+ 2
- 2
modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.cpp View File

@@ -1373,13 +1373,13 @@ void LookAndFeel_V2::drawLinearSliderBackground (Graphics& g, int x, int y, int
g.strokePath (indent, PathStrokeType (0.5f));
}
void LookAndFeel_V2::drawLinearSliderOutline (Graphics& g, int, int, int width, int height,
void LookAndFeel_V2::drawLinearSliderOutline (Graphics& g, int, int, int, int,
const Slider::SliderStyle, Slider& slider)
{
if (slider.getTextBoxPosition() == Slider::NoTextBox)
{
g.setColour (slider.findColour (Slider::textBoxOutlineColourId));
g.drawRect (0, 0, width, height, 1);
g.drawRect (0, 0, slider.getWidth(), slider.getHeight(), 1);
}
}


Loading…
Cancel
Save