Remove OutOfBounds variant from MouseCursor

This commit is contained in:
Héctor Ramón Jiménez 2020-04-29 03:11:15 +02:00
parent 85dc07c3b0
commit 59403b6ca8
19 changed files with 18 additions and 22 deletions

View file

@ -1,9 +1,6 @@
/// The state of the mouse cursor.
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord)]
pub enum MouseCursor {
/// The cursor is out of the bounds of the user interface.
OutOfBounds,
/// The cursor is over a non-interactive widget.
Idle,
@ -31,6 +28,6 @@ pub enum MouseCursor {
impl Default for MouseCursor {
fn default() -> MouseCursor {
MouseCursor::OutOfBounds
MouseCursor::Idle
}
}