mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -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:
@@ -141,7 +141,7 @@ fn window_children() {
|
||||
fn accesskit_output_single_egui_frame(run_ui: impl FnMut(&Context)) -> TreeUpdate {
|
||||
let ctx = Context::default();
|
||||
// Disable animations, so we do not need to wait for animations to end to see the result.
|
||||
ctx.style_mut(|style| style.animation_time = 0.0);
|
||||
ctx.global_style_mut(|style| style.animation_time = 0.0);
|
||||
ctx.enable_accesskit();
|
||||
|
||||
let output = ctx.run(RawInput::default(), run_ui);
|
||||
|
||||
Reference in New Issue
Block a user