summaryrefslogtreecommitdiff
path: root/pkg/ui/views/game_util.go
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-04-17 11:37:51 +0200
committerSanto Cariotti <santo@dcariotti.me>2025-04-17 11:37:51 +0200
commit6df768cc9782c94ae72edd0ec4c3ba3f1c4db632 (patch)
treee801c23f768443dc9d8143d62037d7be3a83d3e0 /pkg/ui/views/game_util.go
parent942ded6e14630d0ad3674d43d7cc2b1a83276978 (diff)
Use a better UI to show moves
Diffstat (limited to 'pkg/ui/views/game_util.go')
-rw-r--r--pkg/ui/views/game_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ui/views/game_util.go b/pkg/ui/views/game_util.go
index 8e82fcf..7d83eee 100644
--- a/pkg/ui/views/game_util.go
+++ b/pkg/ui/views/game_util.go
@@ -9,7 +9,7 @@ func (m GameModel) handleWindowSizeMsg(msg tea.WindowSizeMsg) (GameModel, tea.Cm
m.width = msg.Width
m.height = msg.Height
listWidth := m.width / 4
- m.movesList.SetSize(listWidth, m.height/2)
+ m.availableMovesList.SetSize(listWidth, m.height/2)
return m, m.updateMovesListCmd()
}