@waveform-playlist/browser 9.2.0 → 9.2.1

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.mjs CHANGED
@@ -9532,7 +9532,7 @@ var yv = O.div.attrs((e) => ({
9532
9532
  `, hf = ({ renderTick: e }) => {
9533
9533
  const { samplesPerPixel: t, sampleRate: n, duration: r, timeScaleHeight: o } = Be(Jr), a = J0(), s = Ae(() => {
9534
9534
  const i = Th(r / 1e3, t, n);
9535
- if (a) {
9535
+ if (a && a.scaleMode === "beats") {
9536
9536
  const { bpm: v, timeSignature: m, ticksPerBar: y, ticksPerBeat: b } = a, w = /* @__PURE__ */ new Map(), _ = [], S = r / 1e3, C = Math.ceil(S * v * Qn / 60), E = xr(b, v, n) / t, x = xr(y, v, n) / t, T = 10, R = 30;
9537
9537
  let A;
9538
9538
  if (E >= T)