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

@ -64,7 +64,7 @@ func NewSongPanel(model *tracker.Model) *SongPanel {
RecordBtn: NewBoolClickable(model.IsRecording().Bool()),
NoteTracking: NewBoolClickable(model.NoteTracking().Bool()),
PlayingBtn: NewBoolClickable(model.Playing().Bool()),
RewindBtn: NewActionClickable(model.PlayFromSongStart()),
RewindBtn: NewActionClickable(model.PlaySongStart()),
}
ret.fileMenuItems = []MenuItem{
{IconBytes: icons.ContentClear, Text: "New Song", ShortcutText: keyActionMap["NewSong"], Doer: model.NewSong()},