Skip to content
Commit 192a95d6 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Don't snap cursor to 0 if position is invalid

In RTL text, it is very easy to land on an invalid position and thus the
cursor keeps 'visually' jumping to the line start even though it's still
standing at the clicked position.

Instead, just ensure the cursorPosition is within the text of layout.
parent 52a0a3bb
Pipeline #458654 passed with stage
in 5 minutes and 45 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment