From ada9064e323a2e048e3eec684270355666aecba0 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sat, 21 Nov 2026 21:27:00 +0700 Subject: [PATCH] color-w2: net change of 1 commits - color-w2: written from its sheet --- crates/color-ui/src/ui/picker/channel.rs | 12 ++- crates/color-ui/src/ui/picker/stories.rs | 87 +++++++++++++++-- crates/color-ui/src/ui/picker_dialog.rs | 114 ++++++++++++++++++----- crates/color-ui/tests/it/picker.rs | 58 +++++++++++- 4 files changed, 232 insertions(+), 39 deletions(-) diff --git a/crates/color-ui/src/ui/picker/channel.rs b/crates/color-ui/src/ui/picker/channel.rs index c3e548602..16d466c6d 100644 --- a/crates/color-ui/src/ui/picker/channel.rs +++ b/crates/color-ui/src/ui/picker/channel.rs @@ -178,12 +178,13 @@ pub struct ChannelRow<'a> { /// Whether the track shows over the transparency checkerboard. checker: bool, unit: ChannelUnit, + marks: &'a [f64], } impl<'a> ChannelRow<'a> { /// A row named `label` over `value`, ruled by `rule`. pub fn new(label: impl Into