Fixed
- ActionMapManager:
- Fixed default action maps overriding the current view's handler when returning to a root view.
OnViewSwitchno longer callsCheckAndApplyDefaults()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
handlerCacheduring iteration inAnyViewsWithInputHandlersOpen()andAnyNonRootViewsWithInputHandlersOpen(). Cache cleanup now only happens inOnViewRemoved(). OnViewSwitchnow 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
hiddenViewslist with aStack<(ViewSelector, List<ViewSelector>)>to correctly support nestedhideOtherViewscalls. RestoreHiddenViews(ViewSelector owner)now pops only the entry matching the owner, preventing nested hides from corrupting each other.
- Replaced flat
Changed
- ActionMapManager:
ApplyDefaultActionMaps()no longer clearshandlerSnapshots— those belong to individual view handlers and must be preserved.
What's Changed
Full Changelog: v3.2.3...v3.2.4