mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed Drawable clip-paths not being copied correctly
This commit is contained in:
parent
5a6f33b987
commit
56a6bf06cd
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ Drawable::Drawable (const Drawable& other)
|
|||
|
||||
setComponentID (other.getComponentID());
|
||||
setTransform (other.getTransform());
|
||||
|
||||
if (auto* clipPath = other.drawableClipPath.get())
|
||||
setClipPath (clipPath->createCopy());
|
||||
}
|
||||
|
||||
Drawable::~Drawable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue