format
This commit is contained in:
@@ -133,13 +133,7 @@ export function CenteredWaveform({
|
||||
const y = (height - h) / 2;
|
||||
drawCtx.roundRect(centerX + k * stride, y, barWidth, h, barWidth / 2);
|
||||
if (k > 0) {
|
||||
drawCtx.roundRect(
|
||||
centerX - k * stride,
|
||||
y,
|
||||
barWidth,
|
||||
h,
|
||||
barWidth / 2,
|
||||
);
|
||||
drawCtx.roundRect(centerX - k * stride, y, barWidth, h, barWidth / 2);
|
||||
}
|
||||
}
|
||||
drawCtx.fill();
|
||||
|
||||
Reference in New Issue
Block a user