Tools: the controls under the tools scroll with them, as bottom_controls says

The doc comment on bottom_controls still said the tools scroll above the controls in a short rail. The Tools panel's rail now uses footer_scrolls, so the controls scroll with the tools and the rail draws the rule above them.
This commit is contained in:
dotCooCoo committed 2026-11-29 11:45:44 -08:00
1 parent 0a5d81ed00
commit 214c88d985
1 file changed
+2 -2
+2 -2
View File
@@ -772,8 +772,8 @@ fn quad_bounds(quad: &[Point; 4]) -> vectorcraft_geom::Rect {
/// The Fill/Stroke proxy, Color/Gradient/None, the drawing modes and screen mode under the rail's
/// tools: in two columns the three drawing modes show, in one only the current one, which cycles
/// them. A row the rail is too narrow for goes on in the next line. The All Tools drawer's Show
/// section hides any of them. The rail's footer region draws the rule that parts them from the tools, which scroll
/// above it in a short rail.
/// section hides any of them. The rail draws the rule that parts them from the tools, and they scroll with the tools
/// in a short rail.
fn bottom_controls(app: &mut VectorcraftApp, ui: &mut Ui, footer: RailFooter) {
let two = footer.columns > 1;
let show = app.ui.toolbar_show;