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

Make legacy ime visuals a runtime feature

This commit is contained in:
lucasmerlin
2026-06-25 17:52:39 +02:00
parent 5c2174d8e8
commit 9ea7ccc09f
4 changed files with 34 additions and 31 deletions

View File

@@ -101,10 +101,6 @@ wgpu = ["wgpu_no_default_features", "egui-wgpu/default"]
## ```
wgpu_no_default_features = ["dep:wgpu", "dep:egui-wgpu", "dep:pollster"]
## Enable the new IME composition visuals on Windows. The legacy visuals remain
## the default on Windows due to known issues with the new implementation.
windows_new_ime_composition_visuals = ["egui/_override_legacy_ime_composition_visuals"]
## Enables compiling for x11.
x11 = [
"egui-winit/x11",
@@ -189,11 +185,6 @@ objc2-app-kit = { workspace = true, default-features = false, features = [
# windows:
[target.'cfg(any(target_os = "windows"))'.dependencies]
egui = { workspace = true, default-features = false, features = [
"bytemuck",
"legacy_ime_composition_visuals",
] }
windows-sys = { workspace = true, features = [
"Win32_Foundation",
"Win32_System_Com",