mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 23:13:13 -04:00
Change an assert into an egui_assert
This commit is contained in:
@@ -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"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user