1
0
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:
Emil Ernerfeldt
2023-01-26 16:05:52 +01:00
parent cb051425ff
commit ce2d37d5d9
3 changed files with 42 additions and 32 deletions

View File

@@ -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);