Skip to main content

keep_clear

Function keep_clear 

Source
pub fn keep_clear(ctx: &Context, rect: Rect)
Expand description

Keeps the toasts off rect (in the window’s points) for this frame: a row of buttons a toast would cover and take the clicks of, as a wizard’s footer. Toasts whose column meets it move past it: above it under a bottom corner, below it under a top one. Called each frame the rect is shown; it lapses the frame after it is not.