Revert previous change

This commit is contained in:
Mikayla Maki
2023-04-21 17:24:20 -07:00
parent 616188c541
commit 733abc9ed2
+2 -2
View File
@@ -7,7 +7,7 @@ use alacritty_terminal::{
event::{Event as AlacTermEvent, EventListener, Notify, WindowSize}, event::{Event as AlacTermEvent, EventListener, Notify, WindowSize},
event_loop::{EventLoop, Msg, Notifier}, event_loop::{EventLoop, Msg, Notifier},
grid::{Dimensions, Scroll as AlacScroll}, grid::{Dimensions, Scroll as AlacScroll},
index::{Column, Direction as AlacDirection, Line, Point}, index::{Column, Direction as AlacDirection, Line, Point, Side},
selection::{Selection, SelectionRange, SelectionType}, selection::{Selection, SelectionRange, SelectionType},
sync::FairMutex, sync::FairMutex,
term::{ term::{
@@ -1028,7 +1028,7 @@ impl Terminal {
); );
// Use .opposite so that selection is inclusive of the cell clicked. // 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 { let selection_type = match e.click_count {
0 => return, //This is a release 0 => return, //This is a release