Browse Source

Projucer: Fixed a bug where the SVG Path Converter tool was drawing an invisible path preview

tags/2021-05-28
ed 8 years ago
parent
commit
db614c82ad
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      extras/Projucer/Source/Utility/jucer_SVGPathDataComponent.h

+ 2
- 0
extras/Projucer/Source/Utility/jucer_SVGPathDataComponent.h View File

@@ -104,6 +104,8 @@ public:
void paint (Graphics& g) override
{
g.setColour (findColour (secondaryBackgroundColourId));
g.setColour (findColour (defaultTextColourId));
g.fillPath (path, path.getTransformToScaleToFit (previewPathArea.reduced (4).toFloat(), true));
}


Loading…
Cancel
Save