Skip to content

Commit ae0b80c

Browse files
committed
Comment out column adjustment in touchHandler.js
for weird selection behaviour
1 parent db74e6f commit ae0b80c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ace/touchHandler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,9 @@ export default function addTouchListeners(editor, minimal, onclick) {
919919

920920
let { row, column } = renderer.screenToTextCoordinates(x, y);
921921

922-
if (column === start.column) {
923-
++column;
924-
}
922+
// if (column === start.column) {
923+
// ++column;
924+
// }
925925

926926
editor.selection.moveCursorToPosition({ row, column });
927927
positionStart();

0 commit comments

Comments
 (0)