mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
paint: clip was substracted from the array for any composite method
Only ClipPath composite method should cause clips subtraction.
This commit is contained in:
parent
623a90de7b
commit
95c022da1f
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ namespace tvg
|
|||
edata = smethod->update(renderer, outTransform, opacity, clips, newFlag);
|
||||
}
|
||||
|
||||
if (cmpData) clips.pop();
|
||||
if (cmpData && cmpMethod == CompositeMethod::ClipPath) clips.pop();
|
||||
|
||||
return edata;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue