mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-19 13:34:34 -04:00
refactor(tracker/gioui): bind tracker.Int to NumericUpDown on Layout
This commit is contained in:
parent
289bfb0605
commit
beef8fe1e0
@ -293,7 +293,7 @@ func (t *Tracker) KeyEvent(e key.Event, gtx C) {
|
||||
break
|
||||
}
|
||||
instr := t.InstrumentEditor.instrumentDragList.TrackerList.Selected()
|
||||
n := noteAsValue(t.OctaveNumberInput.Int.Value(), val-12)
|
||||
n := noteAsValue(t.Model.Octave().Value(), val-12)
|
||||
t.KeyNoteMap.Press(e.Name, tracker.NoteEvent{Channel: instr, Note: n})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user