mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
More MSVC warning fixes.
This commit is contained in:
parent
cc8662213b
commit
265fb0e8eb
4 changed files with 4 additions and 4 deletions
|
|
@ -172,7 +172,7 @@ void DrawableText::paint (Graphics& g)
|
|||
g.setFont (scaledFont);
|
||||
g.setColour (colour);
|
||||
|
||||
g.drawFittedText (text, Rectangle<int> (w, h), justification, 0x100000);
|
||||
g.drawFittedText (text, Rectangle<float> (w, h).getSmallestIntegerContainer(), justification, 0x100000);
|
||||
}
|
||||
|
||||
Rectangle<float> DrawableText::getDrawableBounds() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue