1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Rename Context::style to global_style; avoid confusion w/ Ui::style (#7772)

This is important after
* https://github.com/emilk/egui/pull/7770
This commit is contained in:
Emil Ernerfeldt
2025-12-14 16:41:13 +01:00
committed by GitHub
parent 5ea94dd0d7
commit bc48599f65
25 changed files with 94 additions and 58 deletions

View File

@@ -331,7 +331,7 @@ impl AppRunner {
}
if let Err(err) = self.painter.paint_and_update_textures(
self.app.clear_color(&self.egui_ctx.style().visuals),
self.app.clear_color(&self.egui_ctx.global_style().visuals),
&clipped_primitives,
self.egui_ctx.pixels_per_point(),
&textures_delta,