-
Notifications
You must be signed in to change notification settings - Fork 128
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
[VisUI] Input cursor blinking with non continuous rendering #282
Comments
This bit comes from libGDX and I haven't really used non continuous rendering. You should probably also report it in libgdx repo. |
Oh, you're right, I didn't think it could have come from the original LibGDX code. I made PR and opened issue for the LibGDX repo and only than suddenly realized that I see |
libgdx is using |
@kotcrab please have a look at libgdx/libgdx#5027 |
I think we can skip this till the next LibGDX release, because Nate modified |
Alright, if you think this is not required right now we can wait for next libGDX release. |
I recently started to develop new skin for desktop app optimized for non continuous rendering behavior and noticed that
VisTextField
's input cursor is not blinking. I shortly found the code underVisTextField#blink()
that omits timer logic for that case.It was actually a quite obvious solution to me and I would go the same way, but this was before I really get in touch with the widget and eventually find out it is little hard to spot the cursor position when it isn't animated at all. I had have an idea to offer to implement some sort of a middle case, when user decides if cursor should blink during non continuous rendering state. But few moments later I thought about how rare this blink really happens and also it only appears when field is selected. So maybe would be better to drop those lines
and just call
Gdx.graphics.requestRendering()
when the blink triggers?What do you think?
The text was updated successfully, but these errors were encountered: