glift
glift copied to clipboard
Improve touch-events for mobile (add guide lines)
There's a couple things that are related.
- The action should be moved to touch-end.
- We should consider adding guidelines. This is a pretty common feature on mobile apps.
I think this would be a great feature. Adding guide-lines for mobile would make it much easier to avoid misclicks
How it would be implemented: touchstart: add guidelines on stone grid touchend: remove guidelines, perform action.
Events on mobile are now exclusively using touch events, but it might be good to add the guidelines still.