Skip to content

v3.2.4

Latest

Choose a tag to compare

@Tirtstan Tirtstan released this 27 Feb 18:26
aec65bb

Fixed

  • ActionMapManager:
    • Fixed default action maps overriding the current view's handler when returning to a root view.
    • OnViewSwitch no longer calls CheckAndApplyDefaults() when a handler was just applied — the view manages its own action maps.
    • CheckAndApplyDefaults() now skips applying defaults when the current view has an active handler with a snapshot, even if the view is a root view.
    • Stopped aggressively removing temporarily hidden (inactive) views from handlerCache during iteration in AnyViewsWithInputHandlersOpen() and AnyNonRootViewsWithInputHandlersOpen(). Cache cleanup now only happens in OnViewRemoved().
    • OnViewSwitch now always restores the previous view's handler, even if the new view has no handler.
    • Added ReapplyHandler() to re-apply action maps for views becoming current again without overwriting their original snapshot.
  • SentinalManager:
    • Replaced flat hiddenViews list with a Stack<(ViewSelector, List<ViewSelector>)> to correctly support nested hideOtherViews calls.
    • RestoreHiddenViews(ViewSelector owner) now pops only the entry matching the owner, preventing nested hides from corrupting each other.

Changed

  • ActionMapManager:
    • ApplyDefaultActionMaps() no longer clears handlerSnapshots — those belong to individual view handlers and must be preserved.

What's Changed

Full Changelog: v3.2.3...v3.2.4