diff --git a/crates/egui/src/grid.rs b/crates/egui/src/grid.rs index 6be1ffa35dd..571700dd97e 100644 --- a/crates/egui/src/grid.rs +++ b/crates/egui/src/grid.rs @@ -46,6 +46,9 @@ impl State { // ---------------------------------------------------------------------------- +// type alias for boxed function to determine row color during grid generation +type ColorPickerFn = Box Option>; + pub(crate) struct GridLayout { ctx: Context, style: std::sync::Arc