feat(tracker): add some shadow to popups

This commit is contained in:
vsariola
2021-02-03 13:25:45 +02:00
parent fc9a6b6517
commit b0dac8454d
3 changed files with 18 additions and 0 deletions

View File

@ -59,6 +59,9 @@ func (t *Tracker) layoutSongButtons(gtx C) D {
}
fileMenu := Popup(&t.FileMenuVisible, menuContents)
fileMenu.NE = unit.Dp(0)
fileMenu.ShadowN = unit.Dp(0)
fileMenu.NW = unit.Dp(0)
saveBtnStyle := material.IconButton(t.Theme, t.SaveSongFileBtn, widgetForIcon(icons.ContentSave))
saveBtnStyle.Background = transparent