diff --git a/widget/material/button.go b/widget/material/button.go index bf9b55e8..25c03767 100644 --- a/widget/material/button.go +++ b/widget/material/button.go @@ -79,8 +79,8 @@ func (b Button) Layout(gtx *layout.Context, button *widget.Button) { col := b.Color bgcol := b.Background if !button.Active() { - col.A = 0xaa - bgcol.A = 0xaa + col = rgb(0x888888) + bgcol = rgb(0xcccccc) } st := layout.Stack{} lbl := st.Rigid(gtx, func() {