Finishing SMask at the end of operators list.
This commit is contained in:
parent
1485c1d1da
commit
63f62a0e53
1 changed files with 5 additions and 0 deletions
|
@ -870,6 +870,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
||||||
},
|
},
|
||||||
|
|
||||||
endDrawing: function CanvasGraphics_endDrawing() {
|
endDrawing: function CanvasGraphics_endDrawing() {
|
||||||
|
// Finishing all opened operations such as SMask group painting.
|
||||||
|
if (this.current.activeSMask !== null) {
|
||||||
|
this.endSMaskGroup();
|
||||||
|
}
|
||||||
|
|
||||||
this.ctx.restore();
|
this.ctx.restore();
|
||||||
|
|
||||||
if (this.transparentCanvas) {
|
if (this.transparentCanvas) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue