Bug fix: accidental reuse of Id:s for columns
Fixes https://github.com/emilk/egui/issues/37
This commit is contained in:
parent
d4d59d94b9
commit
8d365200ad
1 changed files with 1 additions and 5 deletions
|
@ -849,11 +849,7 @@ impl Ui {
|
||||||
pos,
|
pos,
|
||||||
pos2(pos.x + column_width, self.max_rect.right_bottom().y),
|
pos2(pos.x + column_width, self.max_rect.right_bottom().y),
|
||||||
);
|
);
|
||||||
|
self.child_ui(child_rect, self.layout)
|
||||||
Self {
|
|
||||||
id: self.make_child_id(&("column", col_idx)),
|
|
||||||
..self.child_ui(child_rect, self.layout)
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue