fix(tracker): accept '<' and '>' keycodes for changing octave too

Probably fixes issue #13, but cannot test as I don't have a Mac.
This commit is contained in:
vsariola 2021-02-16 22:53:19 +02:00
parent b21bade6b5
commit d49e0a6bc8

View File

@ -186,7 +186,7 @@ func (t *Tracker) KeyEvent(w *app.Window, e key.Event) bool {
t.PlayPosition.Row-- t.PlayPosition.Row--
} }
return true return true
case `\`: case `\`, `<`, `>`:
if e.Modifiers.Contain(key.ModShift) { if e.Modifiers.Contain(key.ModShift) {
return t.ChangeOctave(1) return t.ChangeOctave(1)
} }