~whereswaldon/pointstar

1e80617783bffce68b315b901903858b6b1151ae — Chris Waldon 1 year, 5 months ago 4bfb4cd v0.0.1
bugfix: avoid crashing when laying out help
1 files changed, 3 insertions(+), 0 deletions(-)

M client/widgets/card.go
M client/widgets/card.go => client/widgets/card.go +3 -0
@@ 44,6 44,9 @@ func (c *Card) Hovered(gtx *layout.Context) bool {
}

func (c *Card) Layout(gtx *layout.Context) {
	if c == nil {
		return
	}
	pointer.InputOp{Key: c}.Add(gtx.Ops)
	c.Button.Layout(gtx)
}