mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-04 01:28:45 -04:00
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:
parent
b21bade6b5
commit
d49e0a6bc8
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user