Browse Source

Fixed a conversion warning

tags/2021-05-28
ed 8 years ago
parent
commit
64b2ea825e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp

+ 1
- 1
modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp View File

@@ -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…
Cancel
Save