mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
feat(tracker): wrap cursor in the song instead of clamping it
Closes #49
This commit is contained in:
parent
0f942f73d9
commit
079d5a9ef1
@ -724,8 +724,8 @@ func (m *Model) ParamIndex() int {
|
||||
}
|
||||
|
||||
func (m *Model) clampPositions() {
|
||||
m.cursor = m.cursor.Clamp(m.song.Score)
|
||||
m.selectionCorner = m.selectionCorner.Clamp(m.song.Score)
|
||||
m.cursor = m.cursor.Wrap(m.song.Score)
|
||||
m.selectionCorner = m.selectionCorner.Wrap(m.song.Score)
|
||||
if !m.Track().Effect {
|
||||
m.lowNibble = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user