Merge branch 'master' into advanced-text

This commit is contained in:
Héctor Ramón Jiménez 2023-03-17 20:17:23 +01:00
commit d1dc62ebcd
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
7 changed files with 21 additions and 38 deletions

View file

@ -1,7 +1,8 @@
/// The interaction of a mouse cursor.
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord)]
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord, Default)]
#[allow(missing_docs)]
pub enum Interaction {
#[default]
Idle,
Pointer,
Grab,
@ -12,9 +13,3 @@ pub enum Interaction {
ResizingHorizontally,
ResizingVertically,
}
impl Default for Interaction {
fn default() -> Interaction {
Interaction::Idle
}
}