Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Jun 12, 2024
1 parent bbc2963 commit ee437a1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/egui-winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ee437a1

Please sign in to comment.