Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Dec 25, 2023
1 parent 14b40a7 commit 7011bf3
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 @@ -177,12 +177,12 @@ impl State {
&mut self.clipboard
}

/// Returns whether the window should get IME events.
/// Returns [`false`] or the last value that [`Window::set_ime_allowed()`] was called with, used for debouncing.
pub fn allow_ime(&self) -> bool {
self.allow_ime
}

/// Returns whether the window should get IME events.
/// Returns [`false`] or the last value that [`Window::set_ime_allowed()`] was called with, used for debouncing.
pub fn allow_ime_mut(&mut self) -> &mut bool {
&mut self.allow_ime
}
Expand Down

0 comments on commit 7011bf3

Please sign in to comment.