1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Workaround for a Visual Studio error

This commit is contained in:
jules 2017-11-01 09:16:06 +00:00
parent 8e4e4af795
commit e8490fbf71

View file

@ -214,7 +214,7 @@ void TextLayout::addLine (Line* line)
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 clip = context.getClipBounds();