Merge branch 'master' into advanced-text
This commit is contained in:
commit
d1dc62ebcd
7 changed files with 21 additions and 38 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue