mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Slider: Fix linear bar slider outline
This commit is contained in:
parent
aceef4f5a2
commit
21aca5ba3e
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue