mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
[examples] test_window_impl: Add "Close" button to stacked modals
The "Close" button was forgotten in previous commits.
This commit is contained in:
parent
4e328d3bba
commit
4f360b8edf
@ -697,6 +697,10 @@ CTRL+click on individual component to input value.\n",
|
||||
ui.close_current_popup();
|
||||
}
|
||||
});
|
||||
|
||||
if ui.button(im_str!("Close"), (0.0, 0.0)) {
|
||||
ui.close_current_popup();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user