Skip to content

Commit f1f3fea

Browse files
committed
fix
1 parent 574d56d commit f1f3fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/terminal/terminalTouchSelection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ export default class TerminalTouchSelection {
715715
// Show/hide start handle at logical start position
716716
if (startPos) {
717717
this.startHandle.style.display = "block";
718-
this.startHandle.style.left = `${startPos.x - this.options.handleSize / 2}px`;
718+
this.startHandle.style.left = `${startPos.x - this.options.handleSize / 2 - 0.1}px`;
719719
this.startHandle.style.top = `${startPos.y + this.cellDimensions.height + 4}px`;
720720
} else {
721721
this.startHandle.style.display = "none";
@@ -724,7 +724,7 @@ export default class TerminalTouchSelection {
724724
// Show/hide end handle at logical end position
725725
if (endPos) {
726726
this.endHandle.style.display = "block";
727-
this.endHandle.style.left = `${endPos.x + this.cellDimensions.width - this.options.handleSize / 2}px`;
727+
this.endHandle.style.left = `${endPos.x + this.cellDimensions.width - this.options.handleSize / 2 - 1}px`;
728728
this.endHandle.style.top = `${endPos.y + this.cellDimensions.height + 4}px`;
729729
} else {
730730
this.endHandle.style.display = "none";

0 commit comments

Comments
 (0)