Some Updates
This commit is contained in:
@@ -183,7 +183,7 @@ func (w *Menu) drawHMenu(screen tcell.Screen) {
|
||||
w.items[i].SetActive(w.active && w.cursor == i)
|
||||
w.items[i].SetPos(Coord{X: x, Y: y})
|
||||
w.items[i].Draw(screen)
|
||||
x += w.items[i].WantW() + 2
|
||||
x += len(w.items[i].Label()) + 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user