diff options
author | xengineering <me@xengineering.eu> | 2023-04-11 21:19:57 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-11 21:19:57 +0200 |
commit | cdd88aa3bdd897257c16ea83ef93925dde9ce8d1 (patch) | |
tree | a25107c4e18bdff782dae6b72148b01b04c89e04 /go/main.go | |
parent | 7430798f239642813d5695baefb6066c28ed2f56 (diff) | |
download | limox-cdd88aa3bdd897257c16ea83ef93925dde9ce8d1.tar limox-cdd88aa3bdd897257c16ea83ef93925dde9ce8d1.tar.zst limox-cdd88aa3bdd897257c16ea83ef93925dde9ce8d1.zip |
Fix variable name
Diffstat (limited to 'go/main.go')
-rw-r--r-- | go/main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -73,10 +73,10 @@ func (l *Limox) draw(e system.FrameEvent) { flex.Layout(gtx, layout.Rigid( func(gtx layout.Context) layout.Dimensions { - stateLabel := material.H2(l.Theme, "LimoX") - stateLabel.Color = color.NRGBA{R: 20, G: 20, B: 20, A: 255} - stateLabel.Alignment = text.Middle - return stateLabel.Layout(gtx) + h2 := material.H2(l.Theme, "LimoX") + h2.Color = color.NRGBA{R: 20, G: 20, B: 20, A: 255} + h2.Alignment = text.Middle + return h2.Layout(gtx) }, ), layout.Rigid( |