Skip to content

Commit

Permalink
fix(fabric): opacity after erasing
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Jun 22, 2024
1 parent 71acbd1 commit 89444a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fabric/src/ErasingEffect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function draw(
return;
}
if (entry.opacity) {
entry.object.opacity = opacity;
entry.object.opacity = entry.opacity;
entry.object.parent?.set('dirty', true);
} else if (entry.clipPath) {
entry.clipPath['blockErasing'] = false;
Expand Down

0 comments on commit 89444a1

Please sign in to comment.