From 642b2e14532f906fe133bf2d05bb132ebb53d9ef Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 3 Feb 2023 14:05:14 +0100 Subject: add text input and properly center text --- go/ui/stateBar.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'go/ui/stateBar.go') diff --git a/go/ui/stateBar.go b/go/ui/stateBar.go index 6914de6e..3b9407b5 100644 --- a/go/ui/stateBar.go +++ b/go/ui/stateBar.go @@ -50,12 +50,12 @@ func (sb *StateBar) FindObjectAt(x, y int) interface{} { func (sb *StateBar) ForceRedraw() { if sb.resourceView != nil { - sb.resourceView.Text = sb.resourceLabel() + sb.resourceView.text = sb.resourceLabel() sb.resourceView.ForceRedraw() } if sb.phaseView != nil { - sb.phaseView.Text = sb.phaseLabel() + sb.phaseView.text = sb.phaseLabel() sb.phaseView.ForceRedraw() } } -- cgit v1.2.3