Rename MouseCursor to mouse::Interaction
This commit is contained in:
parent
d4c4198f72
commit
98bc8cf2a7
35 changed files with 170 additions and 171 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use crate::{checkbox::StyleSheet, Primitive, Renderer};
|
||||
use iced_native::{
|
||||
checkbox, HorizontalAlignment, MouseCursor, Rectangle, VerticalAlignment,
|
||||
checkbox, mouse, HorizontalAlignment, Rectangle, VerticalAlignment,
|
||||
};
|
||||
|
||||
impl checkbox::Renderer for Renderer {
|
||||
|
|
@ -54,9 +54,9 @@ impl checkbox::Renderer for Renderer {
|
|||
},
|
||||
},
|
||||
if is_mouse_over {
|
||||
MouseCursor::Pointer
|
||||
mouse::Interaction::Pointer
|
||||
} else {
|
||||
MouseCursor::default()
|
||||
mouse::Interaction::default()
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue