mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 05:14:24 +00:00
- The command board judges a resolution from a Vantage: the modal facts and the focus. Its own is the key focus of the pass; resolve_beneath and fire_beneath judge from the window under the modal layer whose body is running, as it is once that layer closes (the modal layers below it, the stop focus returns to, that stop's chain and edits). key_layer takes the layer to count below; keys::owner_at gives the key owner there. - The palette resolves its rows beneath its own layer, so its modal blocks none of the app's commands, and runs a pick itself: focus returns from its layer (return_from_pick, which also serves menu picks), then the command fires as FireSource::Palette. Its list fills the box width. - A row's disabled state takes text.disabled in row_ink_of, for list, option and menu rows alike; the menu row drops its own copy. - A keyed activation skips a disabled lead, as a press does.