Better piano keybinds
This commit is contained in:
@@ -49,6 +49,7 @@ func run () {
|
||||
container.Adopt(piano, true)
|
||||
piano.OnPress(playNote)
|
||||
piano.OnRelease(stopNote)
|
||||
piano.Focus()
|
||||
|
||||
window.OnClose(tomo.Stop)
|
||||
window.Show()
|
||||
|
||||
Reference in New Issue
Block a user