mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
feat(tracker): add button to make note off and use "1" also as the key event
Closes #54
This commit is contained in:
@ -382,7 +382,7 @@ func (t *Tracker) KeyEvent(w *app.Window, e key.Event) bool {
|
||||
t.NumberPressed(byte(iv))
|
||||
}
|
||||
} else {
|
||||
if e.Name == "A" {
|
||||
if e.Name == "A" || e.Name == "1" {
|
||||
t.SetNote(0)
|
||||
} else {
|
||||
if val, ok := noteMap[e.Name]; ok {
|
||||
|
Reference in New Issue
Block a user