Revert previous change

This commit is contained in:
Mikayla Maki 2023-04-21 17:24:20 -07:00
parent 616188c541
commit 733abc9ed2

View file

@ -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