Change an assert into an egui_assert
This commit is contained in:
parent
f11f9bd1fd
commit
a2082f226f
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ impl GridLayout {
|
|||
// TODO: respect current layout
|
||||
|
||||
let initial_available = ui.placer().max_rect().intersect(ui.cursor());
|
||||
assert!(
|
||||
crate::egui_assert!(
|
||||
initial_available.min.x.is_finite(),
|
||||
"Grid not yet available for right-to-left layouts"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue