refactor(tracker): shorten the names of model.PlayFrom... methods

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-10-12 21:31:56 +03:00
parent a6bb5c2afc
commit 59c04ed4a1
4 changed files with 8 additions and 8 deletions

View File

@ -149,16 +149,16 @@ func (t *Tracker) KeyEvent(e key.Event, gtx C) {
t.RemoveUnused().Do()
case "PlayCurrentPosFollow":
t.NoteTracking().Bool().Set(true)
t.PlayFromCurrentPosition().Do()
t.PlayCurrentPos().Do()
case "PlayCurrentPosUnfollow":
t.NoteTracking().Bool().Set(false)
t.PlayFromCurrentPosition().Do()
t.PlayCurrentPos().Do()
case "PlaySongStartFollow":
t.NoteTracking().Bool().Set(true)
t.PlayFromSongStart().Do()
t.PlaySongStart().Do()
case "PlaySongStartUnfollow":
t.NoteTracking().Bool().Set(false)
t.PlayFromSongStart().Do()
t.PlaySongStart().Do()
case "PlaySelectedFollow":
t.NoteTracking().Bool().Set(true)
t.PlaySelected().Do()