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

Revert "Remove accesskit feature and always depend on accesskit (#7701)"

This reverts commit 1af5d1d37e.
This commit is contained in:
lucasmerlin
2025-11-18 17:17:25 +01:00
parent d53a4a9c1d
commit 7980401b25
25 changed files with 140 additions and 56 deletions

View File

@@ -888,6 +888,7 @@ impl State {
events: _, // handled elsewhere
mutable_text_under_cursor: _, // only used in eframe web
ime,
#[cfg(feature = "accesskit")]
accesskit_update,
num_completed_passes: _, // `egui::Context::run` handles this
request_discard_reasons: _, // `egui::Context::run` handles this
@@ -946,9 +947,6 @@ impl State {
profiling::scope!("accesskit");
accesskit.update_if_active(|| update);
}
#[cfg(not(feature = "accesskit"))]
let _ = accesskit_update;
}
fn set_cursor_icon(&mut self, window: &Window, cursor_icon: egui::CursorIcon) {