mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-19 05:24:48 -04:00
fix(tracker): adding order row moved cursor incorrectly
This commit is contained in:
parent
1c42a51cc6
commit
025f8832d9
@ -336,7 +336,7 @@ func (m *Model) StopPlaying() Action {
|
||||
func (m *Model) AddOrderRow(before bool) Action {
|
||||
return Allow(func() {
|
||||
defer m.change("AddOrderRowAction", ScoreChange, MinorChange)()
|
||||
if before {
|
||||
if !before {
|
||||
m.d.Cursor.OrderRow++
|
||||
}
|
||||
m.d.Cursor2.OrderRow = m.d.Cursor.OrderRow
|
||||
|
Reference in New Issue
Block a user