Skip to main content

apply

Function apply 

Source
pub fn apply(cx: &mut App)
Expand description

Re-resolve the palette and, if it moved, swap the theme and force a full repaint. A no-op when the resolved appearance is unchanged — the OS fires the notification for vibrancy and accent-color changes too, and repainting every window for those would be a visible hitch for nothing.