Skip to content

Commit

Permalink
make game seed navigatable
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte committed Apr 1, 2024
1 parent 13ee7b3 commit f4199f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/scenes/menus/lobbymenu.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ func (c *LobbyMenuController) bindNavTree() {
backButtonElem.Edges[gameui.NavLeft] = goButtonElem
randSchemaButtonElem.Edges[gameui.NavLeft] = schemaButtonElem
randSchemaButtonElem.Edges[gameui.NavUp] = backButtonElem

seedElem := c.rightNavBlock.NewElem(c.seedInput)
seedElem.Edges[gameui.NavDown] = goButtonElem
goButtonElem.Edges[gameui.NavUp] = seedElem
backButtonElem.Edges[gameui.NavUp] = seedElem
}

{
Expand Down

0 comments on commit f4199f7

Please sign in to comment.