mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Fixed a conversion warning
This commit is contained in:
parent
0fd3710c0e
commit
64b2ea825e
1 changed files with 1 additions and 1 deletions
|
|
@ -997,7 +997,7 @@ void LookAndFeel_V4::drawLinearSlider (Graphics& g, int x, int y, int width, int
|
|||
if (! isTwoVal)
|
||||
{
|
||||
g.setColour (slider.findColour (Slider::thumbColourId));
|
||||
g.fillEllipse (Rectangle<float> (thumbWidth, thumbWidth).withCentre (isThreeVal ? thumbPoint : maxPoint));
|
||||
g.fillEllipse (Rectangle<float> (static_cast<float> (thumbWidth), static_cast<float> (thumbWidth)).withCentre (isThreeVal ? thumbPoint : maxPoint));
|
||||
}
|
||||
|
||||
if (isTwoVal || isThreeVal)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue