Skip to main content

glass_selector

Function glass_selector 

pub fn glass_selector(theme: &Theme, state: SelectionState) -> SelectionTier
Expand description

Same three states and ordering as selection_tier — not a second opinion about what “active” means — but the bodies are films rather than washes, carrying the light direction the tier table has no field for. Kept separate rather than replacing it: a translucent fill handed to a caller that fills it flat is weaker than an opaque wash, so the swap must happen per surface, together with its painter.