Use CSS in Keyboard Floating Tile
-
Hey!
How can I use CSS for the keyboard floating tile? I couldn't figure it out as there are drawBlackNote and drawWhiteNote register functions and I don't what to select. Tried selecting divs using the setInlineStyleSheet but no luck. Any ideas?
Thanks!
-
@Casmat I haven‘t setup the keyboard to use the CSS renderer yet but I agree that‘s a good candidate.
It might be a bit tricky to get animations between key states to work as the current animation system keeps a single state for each component and the entire keyboard is one component but the basics should be doable quite easily.
-
@Christoph-Hart Ahh I see! Adding that would definitely be useful, I'd be probably adding some borders, box shadows, gradients for each key. I was planning on making the active state consist of a white dropshadow on the key, and having a subtle animation between them would be nice if not too messy, but having the rest would be great!
-
@Christoph-Hart Any luck so far?