mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 18:25:34 +01:00
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:
1 parent
0a5d81ed00
commit
214c88d985
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user