Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piano UI keys' maximum width #16

Merged
merged 2 commits into from
Oct 19, 2017
Merged

Piano UI keys' maximum width #16

merged 2 commits into from
Oct 19, 2017

Conversation

VictorKoehler
Copy link
Contributor

When using this excellent library, I noticed that the Piano UI had some limitations caused by the fact that the WinForms Size values are integer types.
So I've made some changes to make the keys fills all the control size (PianoControl.cs) and force re-painting to prevent a resize glitch (PianoControl.PianoKey.cs).
As I'm a beginner, it can probably be improved, so I'll really appreciate your criticisms and suggestions.

pianoui
synthesia

@tebjan tebjan merged commit cf83732 into tebjan:master Oct 19, 2017
@tebjan
Copy link
Owner

tebjan commented Oct 19, 2017

looks pretty good, thanks a lot and sorry for the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants