Allowing partial glyph to be considered start

This commit is contained in:
Jonathan Johnson 2024-07-26 09:46:50 -07:00
parent 4a55a42011
commit 4c9dd5d7ca
No known key found for this signature in database
GPG key ID: A66D6A34D6620579

View file

@ -897,7 +897,7 @@ where
)
.saturating_abs();
let cursor = Cursor {
offset: if relative.x <= 0 {
offset: if relative.x <= rect.size.width / 3 {
glyph.info.start
} else {
glyph.info.end