mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 00:19:46 +00:00
Revert previous change
This commit is contained in:
parent
616188c541
commit
733abc9ed2
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ use alacritty_terminal::{
|
|||
event::{Event as AlacTermEvent, EventListener, Notify, WindowSize},
|
||||
event_loop::{EventLoop, Msg, Notifier},
|
||||
grid::{Dimensions, Scroll as AlacScroll},
|
||||
index::{Column, Direction as AlacDirection, Line, Point},
|
||||
index::{Column, Direction as AlacDirection, Line, Point, Side},
|
||||
selection::{Selection, SelectionRange, SelectionType},
|
||||
sync::FairMutex,
|
||||
term::{
|
||||
|
@ -1028,7 +1028,7 @@ impl Terminal {
|
|||
);
|
||||
|
||||
// Use .opposite so that selection is inclusive of the cell clicked.
|
||||
let side = mouse_side(position, self.last_content.size).opposite();
|
||||
let side = mouse_side(position, self.last_content.size);
|
||||
|
||||
let selection_type = match e.click_count {
|
||||
0 => return, //This is a release
|
||||
|
|
Loading…
Reference in a new issue