mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Use "in front" and "behind" instead of "below" and "above"
This commit is contained in:
@@ -72,7 +72,7 @@ impl eframe::App for MyApp {
|
||||
}
|
||||
|
||||
let base = ZOrder::BASE;
|
||||
let above = base.above();
|
||||
let above = base.in_front();
|
||||
|
||||
draw_squares(ui, Vec2::new(0.0, 0.0), base, above);
|
||||
draw_squares(ui, Vec2::new(100.0, 0.0), above, base);
|
||||
|
||||
Reference in New Issue
Block a user