Skip to content

Commit

Permalink
Fix regression (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon committed Apr 8, 2022
1 parent a327336 commit 1af688f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/renderer/components/Group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const onDraw = createDrawing<GroupProps>(
processPaint(paint, opacity, groupProps);
const hasTransform = !!groupProps.transform || !!groupProps.matrix;
const hasClip = !!clip;
const shouldSave = hasTransform || hasClip;
const shouldSave = hasTransform || hasClip || !!layer;
if (shouldSave) {
if (layer) {
if (typeof layer === "boolean") {
Expand Down

0 comments on commit 1af688f

Please sign in to comment.