Skip to content
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

Strawman implementation of blinking cursor in text input + animation 'WaitUntil' #547

Closed
wants to merge 6 commits into from

Conversation

twitchyliquid64
Copy link

This is just a demo, I agree we need to wait until we have a better idea of the API before we tackle animations

Anyway, this is what it would look like to hack it in XD

A few lessons here:

  1. Adding stuffing into draw() is a pain in the ass, theres over 80 instances to update XD
  2. Adding stuff into draw() is probably a bad idea - the current event loop in application.rs seems to assume state changes only happen on update(), and draw() just, draws. The concept of 'next draw me at X moment/event' doesnt neatly fit into either.

@twitchyliquid64 twitchyliquid64 marked this pull request as draft October 3, 2020 00:33
@twitchyliquid64
Copy link
Author

Closing this as its obsoleted by #560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant