-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ImeSetInputScreenPosFn to pass the line_height. #3113
Conversation
Hi, @ocornut, what's your thought on this PR so far? Thanks! |
Thank you! No worries! |
0c1e5bd
to
bb6a60b
Compare
8b83e0a
to
d735066
Compare
Hello @liuliu , The commits are Thank you for your patience! I think this will break #3108 but the changes/API are more reasonable now. |
This PR is to continue the discussion in #3108 (comment)
As of now, I only cherry-picked the commit into this PR. I think changing
it from Vec2 to Vec4 would be nicer, but we need to have a good definition
of what that rectangle is (the cursor shape? the next char? the existing chars
with proposed text (markedText)?).
I don't have a Windows to continue the discussion on changing the
defaultImpl to use poll. I think it would be interesting to do that, and is
probably the right change, but don't have full context yet.