summaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-11 21:19:57 +0200
committerxengineering <me@xengineering.eu>2023-04-11 21:19:57 +0200
commitcdd88aa3bdd897257c16ea83ef93925dde9ce8d1 (patch)
treea25107c4e18bdff782dae6b72148b01b04c89e04 /go
parent7430798f239642813d5695baefb6066c28ed2f56 (diff)
downloadlimox-cdd88aa3bdd897257c16ea83ef93925dde9ce8d1.tar
limox-cdd88aa3bdd897257c16ea83ef93925dde9ce8d1.tar.zst
limox-cdd88aa3bdd897257c16ea83ef93925dde9ce8d1.zip
Fix variable name
Diffstat (limited to 'go')
-rw-r--r--go/main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/go/main.go b/go/main.go
index 108ebc9..8d61cf9 100644
--- a/go/main.go
+++ b/go/main.go
@@ -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(