Skip to content

Commit

Permalink
Update to use zCanvas 6.0.2 to prevent alpha blending of waveform ana…
Browse files Browse the repository at this point in the history
…lysis visualisers
  • Loading branch information
igorski committed Jan 13, 2024
1 parent 9e2235d commit 2ff7dae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"vue-select": "^3.11.2",
"vuedraggable": "^2.24.3",
"wa-overdrive": "^0.0.3",
"zcanvas": "^6.0.1",
"zcanvas": "^6.0.2",
"zmidi": "^1.2.1"
},
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/components/waveform-display/waveform-display.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ export default {
height: this.height,
autoSize: false,
optimize: this.optimizeRenderer ? "auto" : "none",
backgroundColor: "#000",
fps: 60
});
this.canvas.setBackgroundColor( "#000000" );
this.canvas.insertInPage( this.$refs.canvasContainer );
this.canvas.getElement().className = "waveform-canvas";
Expand Down

0 comments on commit 2ff7dae

Please sign in to comment.