mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 16:09:23 +00:00
When clicking on a glyph or starting a selection on it, we would use the glyph's offset/index as the position which represents the left side of the glyph, or the position between the glyph and the glyph before it. Instead of looking at which glyph is under the mouse pointer, look at which glyph boundary is closer. Now, if you click to the right of a glyph (but still on that glyph), it correctly selects the next glyph's offset as the position.
1 line
4 B
Text
1 line
4 B
Text
193
|