Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Jul 13, 2024
1 parent ebc032b commit 9c592bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/egui-winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@ impl State {
});

if has_ime_event || self.ime_rect != Some(ime_rect) {
self.ime_rect = Some(ime_rect);
crate::profile_scope!("set_ime_cursor_area");
self.egui_ctx
.send_viewport_cmd_to(self.viewport_id, ViewportCommand::IMERect(ime_rect));
Expand Down

0 comments on commit 9c592bd

Please sign in to comment.