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

Method CanGoBack

menu.go:574–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

572}
573
574func (menu *Menu) CanGoBack() bool {
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])

Callers 2

UpdateMethod · 0.95
DrawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected