Skip to content

Commit ca60d22

Browse files
committed
move fix for pdf to export server
1 parent 7b2e97d commit ca60d22

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vector/Stage.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,10 +1419,6 @@ acgraph.vector.Stage.prototype.addPdfData_ = function(data, opt_paperSizeOrWidth
14191419
svgStr = this.toSvg();
14201420
}
14211421

1422-
//fix for magic bug with svg to pdf converter. This fill-opacity attr applyed to clipPath element that affected
1423-
//opacity of text elements below (DVF-2550 (p9 and p10)).
1424-
svgStr = svgStr.replace(/fill="#FFFFFF" fill-opacity="0\.0+1"/g, 'fill="none"');
1425-
14261422
data['data'] = svgStr;
14271423
data['dataType'] = 'svg';
14281424
data['responseType'] = 'file';

0 commit comments

Comments
 (0)