From 48cef3fa60e2e9ecf7bff32acf0328a0c246a2ed Mon Sep 17 00:00:00 2001 From: aiongg Date: Fri, 20 Nov 2026 17:42:03 +0000 Subject: [PATCH] contract-api.md: ScrollBarLook without its fade length --- docs/contract-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contract-api.md b/docs/contract-api.md index 006b1c940..276d6607d 100644 --- a/docs/contract-api.md +++ b/docs/contract-api.md @@ -3902,7 +3902,7 @@ The style layer: the state set and its resolver, style parts and `ComponentStyle - `pub fn pixels(self, pixels_per_point: f32) -> f32`. The width in whole physical pixels on a display of `pixels_per_point`. - `pub fn points(self, pixels_per_point: f32) -> f32`. The width in points on a display of `pixels_per_point`. - `craft_ui::style::ScrollBarKind`: `pub enum ScrollBarKind { Overlay, Docked }`. Where a scroll bar sits. -- `craft_ui::style::ScrollBarLook`: `pub struct ScrollBarLook { pub kind: ScrollBarKind, pub track: Stateful, pub thumb: Stateful, pub thickness: f32, pub min_thumb: f32, pub inset: f32, pub edge: Option, pub fade: f32 }`. A scroll bar's track and thumb. +- `craft_ui::style::ScrollBarLook`: `pub struct ScrollBarLook { pub kind: ScrollBarKind, pub track: Stateful, pub thumb: Stateful, pub thickness: f32, pub min_thumb: f32, pub inset: f32, pub edge: Option }`. A scroll bar's track and thumb. - `craft_ui::style::State`: re-export of `craft_theme::State` (outside these crates). - `craft_ui::style::StateMix`: re-export of `craft_theme::StateMix` (outside these crates). - `craft_ui::style::StateSet`: `pub struct StateSet { pub state: State, pub flags: Flags, pub t: StateMix }`. The state of a component or one of its parts at step 12: the interaction state, the value flags and the