Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Apr 30, 2024
1 parent d86e176 commit 602ea52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/egui-winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl State {
}
}

fn send_ime_enable(&mut self) {
pub fn send_ime_enable(&mut self) {
if !self.has_sent_ime_enabled {
self.egui_input
.events
Expand All @@ -487,7 +487,7 @@ impl State {
}
}

fn send_ime_disable(&mut self) {
pub fn send_ime_disable(&mut self) {
self.egui_input
.events
.push(egui::Event::Ime(egui::ImeEvent::Disabled));
Expand Down

0 comments on commit 602ea52

Please sign in to comment.