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

Improve fading for action tooltips #163

Open
Greenheart opened this issue Aug 11, 2021 · 0 comments
Open

Improve fading for action tooltips #163

Greenheart opened this issue Aug 11, 2021 · 0 comments

Comments

@Greenheart
Copy link
Owner

Greenheart commented Aug 11, 2021

fade in/out after a threshold instead on based on total distance.

The fade does not look as good in the center, so we should experiment with removing it completely up until a threshold. Then fade in/out with a transition duration of x ms instead of fading based on distance.

Another point to consider: On small screens, the tooltip has to be shown closer to the middle so players have a chance to read it before they reach the SWIPE_THRESHOLD where they might accidently drop the card and trigger a swipe when just reading the action description.

Ideally, we'll find a good balance here.

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

No branches or pull requests

1 participant