mirror of
https://github.com/danbulant/cushy
synced 2026-06-19 14:31:04 +00:00
Allowing partial glyph to be considered start
This commit is contained in:
parent
4a55a42011
commit
4c9dd5d7ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue