diff options
Diffstat (limited to 'src/events.rs')
-rw-r--r-- | src/events.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events.rs b/src/events.rs index 680a077..ac30cfd 100644 --- a/src/events.rs +++ b/src/events.rs @@ -46,10 +46,10 @@ pub enum ElementState { #[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)] pub enum MouseButton { - LeftMouseButton, - RightMouseButton, - MiddleMouseButton, - OtherMouseButton(u8), + Left, + Right, + Middle, + Other(u8), } #[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)] |