You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Press left-arrow repeatedly until the cursor disappears
This reveals another issue with the janky zero-width cursor setup when left-arrow is pressed for the first time.
Roughly, we need to
Get the relative cursor position from TextLayoutInfo
Offset the inner text node so that the cursor is always visible
Note that this is going to be janky when there are spaces involved until Bevy 0.15 due to bevyengine/bevy#13063, and there's not much we can do about that.
The text was updated successfully, but these errors were encountered:
rparrett
changed the title
Cursor disappears when moved left when contents are wider than container
Inner text node position should follow cursor position
Mar 26, 2024
To reproduce:
cargo run --example basic
hello there
This reveals another issue with the janky zero-width cursor setup when left-arrow is pressed for the first time.
Roughly, we need to
TextLayoutInfo
Note that this is going to be janky when there are spaces involved until Bevy 0.15 due to bevyengine/bevy#13063, and there's not much we can do about that.
The text was updated successfully, but these errors were encountered: