don't round mouse coords when mouse is grabbed
refs: https://github.com/wez/wezterm/issues/898
This commit is contained in:
1 parent
07799d0ab3
commit
ea95f3f735
1 file changed
+1
-1
@@ -58,7 +58,7 @@ impl super::TermWindow {
|
||||
.sub(config.window_padding.left as isize)
|
||||
.max(0) as f32)
|
||||
/ self.render_metrics.cell_size.width as f32;
|
||||
let x = if !in_tab_bar {
|
||||
let x = if !in_tab_bar && !pane.is_mouse_grabbed() {
|
||||
// Round the x coordinate so that we're a bit more forgiving of
|
||||
// the horizontal position when selecting cells
|
||||
x.round()
|
||||
|
||||
Reference in new issue
Block a user