A printed poster's leader lines carry about the image print's ink (stroke-opacity .5, measured)
This commit is contained in:
parent
66c9f048c9
commit
0d3219e58e
1 changed files with 1 additions and 1 deletions
|
|
@ -873,7 +873,7 @@ function fitForPrint(html) {
|
|||
// and clipped to the fitted box too (the frame print has no root, so this rule changes nothing there).
|
||||
const css = `<style>@media print{@page{margin:${PRINT_MARGIN_MM}mm}.stage{transform:scale(${(+sc[1] * f).toFixed(6)})}`
|
||||
+ `html,body{width:${w}px;height:${h}px}#dxm-print-root{width:${w}px!important;height:${h}px!important;overflow:hidden!important;margin:0!important}`
|
||||
+ `.lead{stroke-opacity:.6}.slead{opacity:.4}}</style>`
|
||||
+ `.lead{stroke-opacity:.5}.slead{opacity:.4}}</style>`
|
||||
return html.replace('</head>', css + '</head>')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue