mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 13:04:25 -04:00
feat(tracker): add button for deleting instrument
This commit is contained in:
@ -22,6 +22,7 @@ var addIcon *widget.Icon
|
||||
var loadIcon *widget.Icon
|
||||
var saveIcon *widget.Icon
|
||||
var clearIcon *widget.Icon
|
||||
var deleteIcon *widget.Icon
|
||||
|
||||
func init() {
|
||||
var err error
|
||||
@ -49,6 +50,10 @@ func init() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
deleteIcon, err = widget.NewIcon(icons.ActionDelete)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
func smallButton(icStyle material.IconButtonStyle) material.IconButtonStyle {
|
||||
|
Reference in New Issue
Block a user