Revert "different child_next_auto_id_source"
This reverts commit 4620a124d7
.
This commit is contained in:
parent
4620a124d7
commit
8e0414f2f0
1 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,9 @@ impl Ui {
|
||||||
) -> Self {
|
) -> Self {
|
||||||
crate::egui_assert!(!max_rect.any_nan());
|
crate::egui_assert!(!max_rect.any_nan());
|
||||||
let child_id = self.id.with(id_source);
|
let child_id = self.id.with(id_source);
|
||||||
let child_next_auto_id_source = child_id.with("auto").value();
|
let child_next_auto_id_source = child_id.with(self.next_auto_id_source).value();
|
||||||
|
|
||||||
|
self.next_auto_id_source = self.next_auto_id_source.wrapping_add(1);
|
||||||
|
|
||||||
Ui {
|
Ui {
|
||||||
id: child_id,
|
id: child_id,
|
||||||
|
|
Loading…
Reference in a new issue