mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-20 14:04:34 -04:00
feat(tracker/gioui): refactor & rework playbar with the play buttons
This commit is contained in:
parent
42c95ab8ee
commit
40be82de46
@ -79,7 +79,7 @@ func (oe *OrderEditor) Layout(gtx C, t *Tracker) D {
|
||||
}
|
||||
|
||||
rowTitleBg := func(gtx C, j int) D {
|
||||
if t.SongPanel.PlayingBtn.Bool.Value() && j == t.PlayPosition().OrderRow {
|
||||
if t.Model.Playing().Value() && j == t.PlayPosition().OrderRow {
|
||||
paint.FillShape(gtx.Ops, patternPlayColor, clip.Rect{Max: image.Pt(gtx.Constraints.Max.X, gtx.Dp(patternCellHeight))}.Op())
|
||||
}
|
||||
return D{}
|
||||
|
Reference in New Issue
Block a user