mirror of
https://github.com/danbulant/cushy
synced 2026-07-07 04:00:45 +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();
|
.saturating_abs();
|
||||||
let cursor = Cursor {
|
let cursor = Cursor {
|
||||||
offset: if relative.x <= 0 {
|
offset: if relative.x <= rect.size.width / 3 {
|
||||||
glyph.info.start
|
glyph.info.start
|
||||||
} else {
|
} else {
|
||||||
glyph.info.end
|
glyph.info.end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue