diff --git a/crates/theme/src/tokens/size.rs b/crates/theme/src/tokens/size.rs index 79015337b..a5d44ef7e 100644 --- a/crates/theme/src/tokens/size.rs +++ b/crates/theme/src/tokens/size.rs @@ -396,8 +396,8 @@ pub struct HitSizes { pub slop: f32, /// The least hit size of a part, in logical pixels; a thin handle or line is padded to it. pub target: f32, - /// The band inside a canvas's edge in which a tool that autoscrolls on hover (a Polygonal Lasso's rubber band) - /// scrolls the view. + /// The band inside the edge of a canvas's view in which a tool that autoscrolls on hover (a Polygonal Lasso's + /// rubber band) scrolls the view. pub edge: f32, } diff --git a/crates/ui-canvas/src/canvas/tool_host.rs b/crates/ui-canvas/src/canvas/tool_host.rs index 7c621f955..84a3583fc 100644 --- a/crates/ui-canvas/src/canvas/tool_host.rs +++ b/crates/ui-canvas/src/canvas/tool_host.rs @@ -221,7 +221,7 @@ struct HostState { space: Option, /// The view a tool set while [`ToolHost::cancel`] ended its gesture outside a pass: the next pass reports it. cancelled_view: Option, - /// The pass clock of the last pass that delivered input: an autoscroll moves by the time since. + /// The pass clock of the last pass that was not a measuring pass: an autoscroll moves by the time since. time: Option, } diff --git a/docs/craft-framework.md b/docs/craft-framework.md index 55c4ae290..ae0be807f 100644 --- a/docs/craft-framework.md +++ b/docs/craft-framework.md @@ -991,7 +991,7 @@ A theme with its own shape replaces the radii or adds an offset to control, surf | `size.dialog.least`, `size.dialog.wrap` | A dialog's content: the least width it opens at, and the line length its paragraphs wrap at (`LeastWidth::Dialog`, `WrapWidth::Dialog`); content that cannot wrap widens it past that | | `size.dialog.button`, `size.dialog.side_button` | Least width of a dialog's footer button and of a button in its column beside the body | | `size.story.height`, `size.story.width_min`, `size.story.width_max` | The stage a story of a canvas control draws its canvas on: its height and the range of its width; `width_min` is also the least width of a column of a story grid | -| `size.hit.edge` | The band inside a canvas's edge in which a tool that autoscrolls on hover scrolls the view (a Polygonal Lasso's rubber band), at most a quarter of the canvas's shorter side | +| `size.hit.edge` | The band inside the edge of a canvas's view in which a tool that autoscrolls on hover scrolls the view (a Polygonal Lasso's rubber band), at most a quarter of the view's shorter side | | `size.thumb.card` | The picture side of a tile card at zoom 1 (tile grids, preset browsers, the start screen) | | `size.thumb.sample.sm`, `size.thumb.sample.md`, `size.thumb.sample.lg` | The sample beside each thumbnail size choice in a panel's options dialog (Layers, Channels, Paths): larger than the panel's thumbnails, so the choices read apart (`PictureSize::Sample`) | | `space.gap.*`, `space.pad.*` | Gaps between and padding inside components |