mirror of
https://github.com/vsariola/sointu.git
synced 2026-11-18 18:48:50 -05:00
refactor(tracker): shorten the names of model.PlayFrom... methods
This commit is contained in:
@@ -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()},
|
||||
|
||||
Reference in New Issue
Block a user