Skip to main content

remap_frame

Function remap_frame 

Source
pub fn remap_frame(
    frame: &mut Frame,
    old_fill: Color32,
    new_fill: Color32,
    old_border: Color32,
    new_border: Color32,
)
Expand description

Remap fill, stroke, and shadow colors on an egui::Frame when they still match the previous palette.