MCPcopy Create free account
hub / github.com/SolarLune/masterplan / SetPrevPage

Method SetPrevPage

menu.go:577–582  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

575 return len(menu.PageThread) > 1
576}
577func (menu *Menu) SetPrevPage() {
578 if len(menu.PageThread) > 1 {
579 menu.SetPage(menu.PageThread[len(menu.PageThread)-2])
580 menu.PageThread = menu.PageThread[:len(menu.PageThread)-2]
581 }
582}
583
584func (menu *Menu) ForceRecreate() {
585 w := menu.Rect.W

Callers 1

NewMenuFunction · 0.95

Calls 1

SetPageMethod · 0.95

Tested by

no test coverage detected