Closed NickCulbertson closed 2 years ago
@NickCulbertson The only change to this I plan to make is to remove flatTop as a parameter and just use have our pianos have a flat top by default. It looks a little better that way and we don't want to have this grow to every option under the sun. The point is to give good defaults and let the user use their own custom keyboard view for more complex cases.
@aure Sounds good! It looks nice being flat across the default keys but I wasn't sure about the isomorphic layout.
@NickCulbertson yeah only on piano
This PR adds the ability to change the key colors, option to leave the top key corners flat, adds a range control to the demo, & adds the boarder spacing back in.
White keys will again blend with a white backgrounds. If this is an issue, developers can add .background(.black).cornerRadius(5) to pop it off the background.
Here is an example key styling