Bug fix: make sure child Ui:s have own Id
This commit is contained in:
parent
8163f912d3
commit
ab61f98a13
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ impl Ui {
|
|||
let min_rect = layout.rect_from_cursor_size(cursor, min_size);
|
||||
|
||||
Ui {
|
||||
id: self.id,
|
||||
id: self.id.with("child"),
|
||||
next_auto_id: Id::new(self.next_auto_id).with("child").value(),
|
||||
painter: self.painter.clone(),
|
||||
min_rect,
|
||||
|
|
Loading…
Reference in a new issue