mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-13 19:53:16 -05:00
tracker: improve the layout of unit editing buttons
This commit is contained in:
@ -181,6 +181,8 @@ func (t *Tracker) layoutInstrumentEditor(gtx C) D {
|
||||
t.AddUnit()
|
||||
}
|
||||
addUnitBtnStyle := material.IconButton(t.Theme, t.AddUnitBtn, widgetForIcon(icons.ContentAdd))
|
||||
addUnitBtnStyle.Color = t.Theme.ContrastFg
|
||||
addUnitBtnStyle.Background = t.Theme.Fg
|
||||
addUnitBtnStyle.Inset = layout.UniformInset(unit.Dp(4))
|
||||
|
||||
for len(t.StackUse) < len(t.song.Patch.Instruments[t.CurrentInstrument].Units) {
|
||||
|
||||
Reference in New Issue
Block a user