Commit Graph

14 Commits

Author SHA1 Message Date
Dean Herbert e315313266 Split out `IDialogOverlay` to allow for easier testing 2022-04-18 18:36:26 +09:00
Dean Herbert 8b901fe60b Fix potential null reference when running recursive `findValidTarget` 2022-04-14 16:23:55 +09:00
Dean Herbert 2bc4bb9e20 Consider `SubScreenStack`s when allowing for exit confirmation sequence in `PerformFromMenuRunner` 2022-04-14 16:19:34 +09:00
Dean Herbert 36e1fb6da8 Add flow to allow MatchSubScreen to handle beatmap presentation locally 2021-03-03 14:13:51 +09:00
Dean Herbert 5eee46074c Ensure the current screen is current when a sub screen is found as the target 2021-02-19 19:45:29 +09:00
Dean Herbert 362e4802f7 Add the ability for PerformFromMenuRunner to inspect nested screen stacks 2021-02-19 17:58:04 +09:00
Dean Herbert 1701d69a60 Fix calls to IsAssignableFrom being back-to-front 2021-02-19 14:33:08 +09:00
Dean Herbert d85a4a22e5 Allow beatmap imports from any derived version of SongSelect, rather than only PlaySongSelect 2021-02-18 19:19:28 +09:00
Bartłomiej Dach 00c6703c51 Inline complete method as well
For better guarantees that `finalAction` is actually called on the same
screen that `checkCanComplete()` was (uses result of one
`getCurrentScreen()` call throughout instead of calling multiple times).
2020-12-31 10:27:42 +01:00
Dean Herbert f9196ae976 Fix PerformFromMenuRunner failing if CurrentScreen is null 2020-12-31 16:36:20 +09:00
Bartłomiej Dach 610ed99ae3 Add null checks to unguarded resolved-as-null fields 2020-11-14 14:52:58 +01:00
Dean Herbert 0985cb3327 Fix perform from menu not hiding overlays if already on target screen 2020-11-13 14:08:08 +09:00
Dean Herbert ad79c2bc62 Avoid multiple enumeration by converting to array at construction time 2020-11-12 10:55:22 +09:00
Dean Herbert c308eb75d9 Move logic for performing actions from specific screen to its own component 2020-11-11 14:45:50 +09:00