mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Replace ui.ctx().foo with ui.foo in a few places (#7774)
Internal code cleanup after * https://github.com/emilk/egui/pull/7770
This commit is contained in:
@@ -95,8 +95,7 @@ fn main() -> eframe::Result {
|
||||
.selected_text("ComboBox")
|
||||
.width(100.0)
|
||||
.show_ui(ui, |ui| {
|
||||
ui.ctx()
|
||||
.debug_painter()
|
||||
ui.debug_painter()
|
||||
.debug_rect(ui.max_rect(), egui::Color32::RED, "");
|
||||
|
||||
ui.label("Hello");
|
||||
|
||||
Reference in New Issue
Block a user