mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-26 04:48:29 +00:00
Add missing self parameter
This commit is contained in:
parent
0132ab5207
commit
8af46b4a22
@ -114,7 +114,7 @@ impl<'ui> Ui<'ui> {
|
|||||||
///
|
///
|
||||||
/// Clipped by current clipping settings, but disregards other factors like focus, window
|
/// Clipped by current clipping settings, but disregards other factors like focus, window
|
||||||
/// ordering, modal popup blocking.
|
/// ordering, modal popup blocking.
|
||||||
pub fn is_mouse_hovering_rect(r_min: [f32; 2], r_max: [f32; 2]) -> bool {
|
pub fn is_mouse_hovering_rect(&self, r_min: [f32; 2], r_max: [f32; 2]) -> bool {
|
||||||
unsafe { sys::igIsMouseHoveringRect(r_min.into(), r_max.into(), true) }
|
unsafe { sys::igIsMouseHoveringRect(r_min.into(), r_max.into(), true) }
|
||||||
}
|
}
|
||||||
/// Returns the mouse position backed up at the time of opening a popup
|
/// Returns the mouse position backed up at the time of opening a popup
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user