From d4415c516e1a0f06c7478d34d3e9b65c60c1a016 Mon Sep 17 00:00:00 2001 From: Jens Mohrmann Date: Sat, 27 Dec 2025 22:36:01 +0100 Subject: [PATCH] piano details --- src/components/PianoKeys.tsx | 18 ++---------------- src/components/SettingsModal.tsx | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/src/components/PianoKeys.tsx b/src/components/PianoKeys.tsx index cbf26f5..34a9591 100644 --- a/src/components/PianoKeys.tsx +++ b/src/components/PianoKeys.tsx @@ -201,7 +201,7 @@ export function PianoKeys({ // Styling let fill = k.isBlack ? '#222' : '#fff'; - if (interactive && isMarked) { + if (isMarked) { fill = k.isBlack ? '#d32f2f' : '#ffcdd2'; // Red-ish for marked } @@ -223,21 +223,7 @@ export function PianoKeys({ ry={k.isBlack ? 0 : 2} /> - {isMarked && ( - - )} + ); })} diff --git a/src/components/SettingsModal.tsx b/src/components/SettingsModal.tsx index 8d8e235..e4a9d05 100644 --- a/src/components/SettingsModal.tsx +++ b/src/components/SettingsModal.tsx @@ -42,7 +42,7 @@ export const SettingsModal: React.FC = ({ isOpen, onClose, s