From ee437a1239eece864a373a36794eb9b9e09288ca Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:36:40 +0900 Subject: [PATCH] Update lib.rs --- crates/egui-winit/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/egui-winit/src/lib.rs b/crates/egui-winit/src/lib.rs index 144966527c0..b40d4a80a23 100644 --- a/crates/egui-winit/src/lib.rs +++ b/crates/egui-winit/src/lib.rs @@ -1451,12 +1451,6 @@ fn process_viewport_command( PhysicalPosition::new(ime_rect_px.min.x, ime_rect_px.min.y), PhysicalSize::new(ime_rect_px.width(), ime_rect_px.height()), ); - - egui_ctx.output_mut(|o| { - if let Some(ime) = &mut o.ime { - ime.cursor_rect = ime_rect; - } - }); } ViewportCommand::IMEAllowed(v) => window.set_ime_allowed(v), ViewportCommand::IMEPurpose(p) => window.set_ime_purpose(match p {