mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38:35 +00:00
fix add_focus_event doc comment
This commit is contained in:
parent
36dd72e72d
commit
ad52a5bb0f
@ -457,8 +457,8 @@ impl Io {
|
|||||||
sys::ImGuiIO_AddKeyEvent(self.raw_mut(), key as u32, down);
|
sys::ImGuiIO_AddKeyEvent(self.raw_mut(), key as u32, down);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window)
|
/// Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window)
|
||||||
// Note: [`io.config_debug_ignore_focus_loss`] will ignore this event from firing
|
/// Note: [`io.config_debug_ignore_focus_loss`] will ignore this event from firing
|
||||||
#[doc(alias = "AddFocusEvent")
|
#[doc(alias = "AddFocusEvent")
|
||||||
pub fn add_focus_event(&mut self, focused: bool) {
|
pub fn add_focus_event(&mut self, focused: bool) {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user