mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 21:58:36 +00:00
Keep all drawing modes inside the double-column toolbar
This commit is contained in:
@@ -823,7 +823,7 @@ fn bottom_controls(app: &mut VectorcraftApp, ui: &mut Ui, footer: RailFooter) {
|
||||
None => button,
|
||||
};
|
||||
// Small in two columns, where the three sit side by side in the rail's width.
|
||||
let button = if two { button.size(ControlSize::Sm) } else { button };
|
||||
let button = if two { button.size(ControlSize::Sm).glyphs(craft::ui::style::GlyphRole::Tool) } else { button };
|
||||
button.show(ui).clicked()
|
||||
};
|
||||
let mut run = None;
|
||||
|
||||
Reference in New Issue
Block a user