mirror of
https://github.com/hex248/tsos.git
synced 2026-02-07 18:23:05 +00:00
note preview on click
This commit is contained in:
@@ -52,7 +52,10 @@ export default function ColorKeyboard({
|
||||
backgroundColor: ["D", "E"].includes(note) ? "#000000" : "#ffffff",
|
||||
color: ["D", "E"].includes(note) ? "#ffffff" : "#000000",
|
||||
}
|
||||
: { backgroundColor: color }
|
||||
: {
|
||||
backgroundColor: color,
|
||||
color: ["D", "E"].includes(note) ? "#000000" : "#ffffff",
|
||||
}
|
||||
}
|
||||
>
|
||||
{note}
|
||||
|
||||
Reference in New Issue
Block a user