Skip to content

Commit

Permalink
Fix workaround for wavedrom/wavedrom#409.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Apr 4, 2024
1 parent 9e6b41f commit d0f2ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ WaveSkin.default[2][2] = `\
function renderSignal(source) {
const rendered = WaveDrom_renderSignal(0, source, WaveSkin);
delete rendered[1]['id'];
delete rendered[4][2][1]['style']; // workaround for https://github.com/wavedrom/wavedrom/issues/409
rendered[4][2].splice(1, 1); // workaround for https://github.com/wavedrom/wavedrom/issues/409
return onml_stringify(rendered); // note: https://github.com/wavedrom/wavedrom/issues/412
}

Expand Down

0 comments on commit d0f2ee5

Please sign in to comment.