diff --git a/crates/color/src/ui/hud.rs b/crates/color/src/ui/hud.rs index dd33d40b0..5bba30a1d 100644 --- a/crates/color/src/ui/hud.rs +++ b/crates/color/src/ui/hud.rs @@ -204,6 +204,7 @@ impl HudPickStyle { /// commits too, so the colour stays. It is the popover's one focus stop, so Escape reaches it; the area and strip are /// the looks of its two parts and take no input. #[derive(craft_ui::contract::Component, craft_ui::contract::Props)] +#[component(sample = HudPick::sample)] struct HudPick<'a> { #[common] common: Common, @@ -218,6 +219,11 @@ impl<'a> HudPick<'a> { fn new(label: impl Into