Skip to content

Commit f0a600c

Browse files
committed
improve grid columns layout, fix naming in project example
1 parent fb527b9 commit f0a600c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ui/macro_controls.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn render_macro_controls(model: &mut Model, ui: &mut Ui) {
5252
let mut any_changed = false;
5353

5454
Grid::new(format!("macros_{}", i))
55-
.num_columns(3)
55+
.num_columns(4)
5656
.show(ui, |ui| {
5757
for m in current_mode.macros.iter_mut() {
5858
match m {
@@ -109,7 +109,7 @@ pub fn render_macro_controls(model: &mut Model, ui: &mut Ui) {
109109
any_changed = true;
110110
}
111111
});
112-
{};
112+
ui.label(" "); // placeholder to make columns line up
113113
if let Some((animation, _start, _end)) =
114114
&mut colour_macro.animation
115115
{

0 commit comments

Comments
 (0)