Add logbook catalog index filters
This commit is contained in:
parent
4575830857
commit
81decf2b71
9 changed files with 1540 additions and 10 deletions
|
|
@ -1356,6 +1356,24 @@ func _validate_player_menu_nested_controller_back() -> void:
|
|||
== LogbookPageType.ControllerZone.ENTRIES,
|
||||
"Global player-menu Back did not return Logbook to creature selection.",
|
||||
)
|
||||
logbook_page.call("_set_index_open", true, false)
|
||||
logbook_page.set(
|
||||
"_controller_zone",
|
||||
LogbookPageType.ControllerZone.INDEX,
|
||||
)
|
||||
_expect(
|
||||
bool(menu.call("consume_escape")),
|
||||
"Global player-menu Back did not consume the Logbook index zone.",
|
||||
)
|
||||
_expect(
|
||||
menu.visible and not bool(logbook_page.get("_index_open")),
|
||||
"Global player-menu Back did not return from the Logbook index page.",
|
||||
)
|
||||
_expect(
|
||||
int(logbook_page.get("_controller_zone"))
|
||||
== LogbookPageType.ControllerZone.TABS,
|
||||
"Global player-menu Back did not return Logbook index focus to tabs.",
|
||||
)
|
||||
|
||||
var net_page := menu.get("_the_net_page") as Control
|
||||
net_page.set("_active", true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue