Skip to content

Commit

Permalink
export KeyEventExtModifierSupplement
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Mar 27, 2024
1 parent e4aed91 commit c425615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/keyboard.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub use floem_winit::keyboard::{Key, KeyCode, ModifiersState, NamedKey, NativeKey, PhysicalKey};
pub use floem_winit::platform::modifier_supplement::KeyEventExtModifierSupplement;

#[derive(Debug, Clone, Eq, PartialEq, Hash)]
pub struct KeyEvent {
Expand Down
2 changes: 1 addition & 1 deletion src/pointer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct PointerWheelEvent {
pub modifiers: ModifiersState,
}

#[derive(Debug, Clone, PartialEq, Eq, Copy)]
#[derive(Debug, Clone, PartialEq, Eq, Copy, Hash)]
pub enum PointerButton {
Primary,
Secondary,
Expand Down

0 comments on commit c425615

Please sign in to comment.