feat(tracker/gioui): refactor & rework playbar with the play buttons

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-04-27 11:34:00 +03:00
parent 42c95ab8ee
commit 40be82de46
6 changed files with 102 additions and 92 deletions

View File

@ -146,7 +146,7 @@ func (t *Tracker) Main() {
}
}
gtx := app.NewContext(&ops, e)
if t.SongPanel.PlayingBtn.Bool.Value() && t.SongPanel.FollowBtn.Bool.Value() {
if t.Playing().Value() && t.Follow().Value() {
t.TrackEditor.scrollTable.RowTitleList.CenterOn(t.PlaySongRow())
}
t.Layout(gtx, w)