add an overall background
This commit is contained in:
parent
54ac21c89e
commit
48c021f51b
1 changed files with 1 additions and 0 deletions
|
|
@ -234,6 +234,7 @@ export class CodeRenderer {
|
|||
|
||||
const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${dimensions.width}" height="${dimensions.height}" shape-rendering="crispEdges">
|
||||
<g>
|
||||
<rect x="0" y="0" width="${dimensions.width}" height="${dimensions.height}" fill="${this.editorBackground}" shape-rendering="crispEdges" />
|
||||
${lineBackgrounds}
|
||||
${guts}
|
||||
</g>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue