diff --git a/crates/color-ui/src/ui/disc.rs b/crates/color-ui/src/ui/disc.rs index 1406565fa9..7f4a4826c3 100644 --- a/crates/color-ui/src/ui/disc.rs +++ b/crates/color-ui/src/ui/disc.rs @@ -41,7 +41,7 @@ const SECTORS: u32 = 24; const PATCH_RINGS: u32 = 5; const SECTOR_DEGREES: f32 = 15.0; /// How far from where a drag put its marker, in radii, the host's colour may lie and still be the drag's: what an -/// 8-bit or another model's round trip moves a colour by, two of the hundredths a drag reports its radial in. +/// 8-bit round trip moves a colour by, two of the hundredths a drag reports its radial in. const ECHO_REACH: f32 = 0.02; craft_ui::words! { @@ -191,7 +191,8 @@ struct Grab { /// ([`pressed`](ColorDiscOutput::pressed) reports it, for the host to select it); a press elsewhere grabs nothing. /// A drag moves the grabbed marker's hue (the pointer's angle, whole degrees) and saturation (its distance over the /// radius, whole percents, at most 1), one gesture; the marker's brightness stays, the host's slider sets it. A -/// click is one `Set`. A colour of the host's that is not what the drag reported cancels the drag. +/// click is one `Set`. A colour of the host's that is not what the drag reported, after the host's own round trip +/// ([`stored_as`](ColorDisc::stored_as)), cancels the drag. /// - Keys: the markers are one Tab stop, which lands on the selected marker (the first without a selection); a press /// that grabs a marker focuses it. Left and Right change the focused marker's hue by 1 degree, Up and Down its /// saturation by 1 percent; Shift steps ten; each key is a `Set`. During a drag keys change nothing. Esc during a @@ -227,6 +228,7 @@ pub struct ColorDisc<'a> { /// The markers' accessible names, in order; a marker without one is "Color N". #[prop(into)] names: Vec