Use alt modifier instead of cmd to add selections
This commit is contained in:
parent
9e651ee127
commit
73afb29b04
4 changed files with 12 additions and 5 deletions
|
@ -92,6 +92,8 @@ impl Event {
|
|||
native_event.locationInWindow().x as f32,
|
||||
window_height - native_event.locationInWindow().y as f32,
|
||||
),
|
||||
ctrl: modifiers.contains(NSEventModifierFlags::NSControlKeyMask),
|
||||
alt: modifiers.contains(NSEventModifierFlags::NSAlternateKeyMask),
|
||||
shift: modifiers.contains(NSEventModifierFlags::NSShiftKeyMask),
|
||||
cmd: modifiers.contains(NSEventModifierFlags::NSCommandKeyMask),
|
||||
click_count: native_event.clickCount() as usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue