mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
Keep all drawing modes inside the double-column toolbar
This commit is contained in:
1 parent
adece8e918
commit
0e6f90cb3f
1 file changed
+1
-1
@@ -819,7 +819,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