Commit 6e7f5fe
committed
Account for floating point errors in right-to-left test in domPosInText
FIX: Fix an issue where computing a document position from screen coordinates would
sometimes go wrong in right-to-left text.
See https://discuss.codemirror.net/t/clicking-at-end-of-line-in-rtl-text-places-cursor-at-wrong-location-in-chrome/95711 parent 04e446b commit 6e7f5fe
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments