mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fixed a conversion warning in some autogenerated code
This commit is contained in:
parent
32a0208147
commit
d332fcc3c3
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ void PaintElementImage::fillInGeneratedCode (GeneratedCode& code, String& paintM
|
|||
|
||||
r << " jassert (" << imageVariable << " != 0);\n"
|
||||
<< " if (" << imageVariable << " != 0)\n"
|
||||
<< " " << imageVariable << "->drawWithin (g, Rectangle<float> (x, y, width, height),\n"
|
||||
<< " " << imageVariable << "->drawWithin (g, Rectangle<int> (x, y, width, height).toFloat(),\n"
|
||||
<< " " << String::repeatedString (" ", imageVariable.length() + 18)
|
||||
<< (mode == stretched ? "RectanglePlacement::stretchToFit"
|
||||
: (mode == proportionalReducingOnly ? "RectanglePlacement::centred | RectanglePlacement::onlyReduceInSize"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue