mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
a9d7e7e5ab
In the new timeline renderer, the line end position is sometimes incorrectly returned when you pass the offset of the last character in the line, returning `0.0f`. This caused the shape to draw for the line to be reversed, where the start was `0.0f` and the end was the actual start. When we detect a `0.0f` returned value for this, just get the coordinates for the end of the line instead.