mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-21 07:33:17 -05:00
feat(tracker): enum-style values and menus to choose one option
This commit is contained in:
parent
ca4b87d43d
commit
4bb5df9c87
@ -38,6 +38,8 @@ func Popup(th *Theme, visible *bool) PopupWidget {
|
||||
}
|
||||
}
|
||||
|
||||
func (s PopupWidget) WithStyle(style *PopupStyle) PopupWidget { s.Style = style; return s }
|
||||
|
||||
func (s PopupWidget) Layout(gtx C, contents layout.Widget) D {
|
||||
s.update(gtx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user