Better piano keybinds

This commit is contained in:
Sasha Koshka
2023-02-09 16:36:38 -05:00
parent 5446ffe40b
commit e3aea7fc9e
2 changed files with 45 additions and 18 deletions

View File

@@ -49,6 +49,7 @@ func run () {
container.Adopt(piano, true)
piano.OnPress(playNote)
piano.OnRelease(stopNote)
piano.Focus()
window.OnClose(tomo.Stop)
window.Show()