mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-28 01:04:43 +00:00
Update path.class.js
apply opacity property on paths.
This commit is contained in:
parent
81d2f2b21e
commit
572038b0e5
1 changed files with 1 additions and 1 deletions
|
|
@ -464,7 +464,7 @@
|
|||
this._setShadow(ctx);
|
||||
this.clipTo && fabric.util.clipContext(this, ctx);
|
||||
ctx.beginPath();
|
||||
|
||||
ctx.globalAlpha = this.group ? (ctx.globalAlpha * this.opacity) : this.opacity;
|
||||
this._render(ctx);
|
||||
this._renderFill(ctx);
|
||||
this._renderStroke(ctx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue