mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 05:14:24 +00:00
A layer opened from a recorded opener returns focus to that opener's stop. ToolRailOutput::edit_toolbar carries the button's response and ToolbarDrawer::opened_by takes it; the drawer still hangs from the rail. The toast layer is a non-trapping scope (FocusPolicy::TAB_LAYER) whose opener is the stop focus entered it from, so the last card's end returns focus there; an earlier card's end hands it to the next card.