mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor fix to DropShadow
This commit is contained in:
parent
fa941156c2
commit
4ad853c7b9
1 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,8 @@ void DropShadow::drawForPath (Graphics& g, const Path& path) const
|
|||
jassert (radius > 0);
|
||||
|
||||
const Rectangle<int> area ((path.getBounds().getSmallestIntegerContainer() + offset)
|
||||
.getIntersection (g.getClipBounds())
|
||||
.expanded (radius + 1, radius + 1));
|
||||
.expanded (radius + 1)
|
||||
.getIntersection (g.getClipBounds().expanded (radius + 1)));
|
||||
|
||||
if (area.getWidth() > 2 && area.getHeight() > 2)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue