@dawcore/components 0.0.31 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8546,7 +8546,11 @@ var DawSpectrogramElement = class extends import_lit19.LitElement {
8546
8546
  }
8547
8547
  for (let i = 0; i < this._canvases.length; i++) {
8548
8548
  const canvas = this._canvases[i];
8549
- const canvasId = this.clipId + "-ch" + this.channelIndex + "-chunk" + i;
8549
+ const canvasId = (0, import_core11.buildSpectrogramCanvasId)({
8550
+ clipId: this.clipId,
8551
+ channelIndex: this.channelIndex,
8552
+ chunkIndex: i
8553
+ });
8550
8554
  let offscreen;
8551
8555
  try {
8552
8556
  offscreen = canvas.transferControlToOffscreen();