qwerty-hancock
qwerty-hancock copied to clipboard
Key color properties don't work
whatever I set whiteNotesColour, blackNotesColour, hoverColour makes no difference to the rendered keyboard's colors.
const keyboard = new QwertyHancock({ id: "keyboard", width: 1100, height: 68, octaves: 9, startNote: "A0", whiteNotesColour: "blue", blackNotesColour: "green", hoverColour: "#f3e939" });
Hey @marcusmathioudakis! Looks like the documentation is wrong! Try whiteKeyColour
and blackKeyColour
instead. Sorry!
Thank you @stuartmemo that worked- and for the hover color?
activeColour
- https://github.com/stuartmemo/qwerty-hancock/blob/master/src/qwerty-hancock.js#L74
Worked Like a charm - thank you! Appreciate your swift help and keep up the great work, such a great little library :)!
No problem! That's very kind, thank you!