Browse Source

Workaround for a Visual Studio error

tags/2021-05-28
jules 8 years ago
parent
commit
e8490fbf71
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_graphics/fonts/juce_TextLayout.cpp

+ 1
- 1
modules/juce_graphics/fonts/juce_TextLayout.cpp View File

@@ -214,7 +214,7 @@ void TextLayout::addLine (Line* line)
void TextLayout::draw (Graphics& g, Rectangle<float> area) const void TextLayout::draw (Graphics& g, Rectangle<float> area) const
{ {
auto origin = justification.appliedToRectangle ({ width, getHeight() }, area).getPosition();
auto origin = justification.appliedToRectangle (Rectangle<float> (width, getHeight()), area).getPosition();
auto& context = g.getInternalContext(); auto& context = g.getInternalContext();
auto clip = context.getClipBounds(); auto clip = context.getClipBounds();


Loading…
Cancel
Save