Function show

Source
pub fn show(
    ui: &mut Ui,
    state: &mut ToolsState,
    palette: &Palette,
    snap: &mut bool,
) -> bool
Expand description

Returns true when the tool, *snap or the style changed (the app may want to repaint the preview overlay). snap is Settings.snap — owned by the app, not this strip, so it comes in by reference.