diff --git a/src/components/PianoKeys.tsx b/src/components/PianoKeys.tsx
index 1386931..cbf26f5 100644
--- a/src/components/PianoKeys.tsx
+++ b/src/components/PianoKeys.tsx
@@ -206,15 +206,6 @@ export function PianoKeys({
}
const stroke = '#000';
-
- // Height needs to be converted if in px mode? No, SVG viewBox handles scale for Y if we used 100...
- // But wait.
- // If viewMode is 'zoomed', viewBox is `0 0 totalWidthVal 100`.
- // So Y coordinates are 0-100.
- // If viewMode is 'full', viewBox is `0 0 100 100`.
- // So Y coordinates are 0-100.
- // Perfect.
-
const rectHeight = k.isBlack ? BLACK_KEY_HEIGHT_PERCENT * 100 : 100;
return (
@@ -227,35 +218,58 @@ export function PianoKeys({
fill={fill}
stroke={stroke}
strokeWidth={0.5}
+ vectorEffect="non-scaling-stroke"
rx={k.isBlack ? 0 : 2}
ry={k.isBlack ? 0 : 2}
/>
- {/* Labels for C notes on white keys */}
- {!k.isBlack && k.label && (
-