diff --git a/crates/color-ui/src/ui/paint_chip.rs b/crates/color-ui/src/ui/paint_chip.rs index 8026cac9d..28de7cc7b 100644 --- a/crates/color-ui/src/ui/paint_chip.rs +++ b/crates/color-ui/src/ui/paint_chip.rs @@ -783,7 +783,7 @@ impl Component for PaintChip<'_> { } fn paint(&mut self, ui: &mut PaintUi<'_>, cx: &Cx<'_, Self>) { - let (well, mark) = self.layout(cx.rect, &cx.style, cx.flow.is_rtl()); + let (well, mark) = self.layout(cx.rect, cx.style, cx.flow.is_rtl()); if self.popup_mark == PopupMark::Menu { let mut arrow = DisclosureGlyph::dropdown_of(cx.env.get()); arrow.color = Some(cx.style.arrow_color);