Skip to content

Commit

Permalink
fixes #369 ; brutal white backdrop under every waveform
Browse files Browse the repository at this point in the history
  • Loading branch information
drom committed Jul 2, 2023
1 parent fa8c640 commit 5f5ebc2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/insert-svg-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ function insertSVGTemplate (index, source, lane, waveSkin, content, lanes, group

body[1] = {id: 'waves_' + index};

body[2] = ['g', tt(
body[2] = ['rect', {width: width, height: height, style: 'stroke:none;fill:white'}];

body[3] = ['g', tt(
lane.xg + 0.5,
lane.yh0 + lane.yh1 + 0.5,
{id: 'lanes_' + index}
)].concat(lanes);

body[3] = ['g', {
body[4] = ['g', {
id: 'groups_' + index
}, groups];

Expand Down

0 comments on commit 5f5ebc2

Please sign in to comment.