Implement word-wise mouse selection
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
3269b9925f
commit
bcf38e6bb5
6 changed files with 77 additions and 51 deletions
|
@ -94,7 +94,7 @@ impl Event {
|
|||
cmd: native_event
|
||||
.modifierFlags()
|
||||
.contains(NSEventModifierFlags::NSCommandKeyMask),
|
||||
count: native_event.clickCount() as usize,
|
||||
click_count: native_event.clickCount() as usize,
|
||||
})
|
||||
}
|
||||
NSEventType::NSLeftMouseUp => window_height.map(|window_height| Self::LeftMouseUp {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue