Finishing SMask at the end of operators list.
This commit is contained in:
parent
1485c1d1da
commit
63f62a0e53
@ -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…
x
Reference in New Issue
Block a user