mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
refactor(tracker): shorten the names of model.PlayFrom... methods
This commit is contained in:
parent
a6bb5c2afc
commit
59c04ed4a1
@ -275,7 +275,7 @@ func (m *Model) RemoveUnused() Action {
|
||||
})
|
||||
}
|
||||
|
||||
func (m *Model) PlayFromCurrentPosition() Action {
|
||||
func (m *Model) PlayCurrentPos() Action {
|
||||
return Action{
|
||||
allowed: func() bool { return !m.instrEnlarged },
|
||||
do: func() {
|
||||
@ -287,7 +287,7 @@ func (m *Model) PlayFromCurrentPosition() Action {
|
||||
}
|
||||
}
|
||||
|
||||
func (m *Model) PlayFromSongStart() Action {
|
||||
func (m *Model) PlaySongStart() Action {
|
||||
return Action{
|
||||
allowed: func() bool { return !m.instrEnlarged },
|
||||
do: func() {
|
||||
|
Reference in New Issue
Block a user