Add Copy and Help variants to mouse::Interaction
This commit is contained in:
parent
1cbedfaac7
commit
d4b9b4720f
2 changed files with 4 additions and 0 deletions
|
|
@ -20,4 +20,6 @@ pub enum Interaction {
|
||||||
ZoomOut,
|
ZoomOut,
|
||||||
Cell,
|
Cell,
|
||||||
Move,
|
Move,
|
||||||
|
Copy,
|
||||||
|
Help,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -434,6 +434,8 @@ pub fn mouse_interaction(
|
||||||
Interaction::ZoomOut => winit::window::CursorIcon::ZoomOut,
|
Interaction::ZoomOut => winit::window::CursorIcon::ZoomOut,
|
||||||
Interaction::Cell => winit::window::CursorIcon::Cell,
|
Interaction::Cell => winit::window::CursorIcon::Cell,
|
||||||
Interaction::Move => winit::window::CursorIcon::Move,
|
Interaction::Move => winit::window::CursorIcon::Move,
|
||||||
|
Interaction::Copy => winit::window::CursorIcon::Copy,
|
||||||
|
Interaction::Help => winit::window::CursorIcon::Help,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue