M
M
Mercury132017-04-06 13:46:22
User interface
Mercury13, 2017-04-06 13:46:22

How do you distinguish between clicking and dragging?

Actually, the question is: how do you do it so that a (mouse) click is guaranteed not to move anything? I still have this thing: a range of more than 4 pixels or a time of more than 400 ms. In this case, when you release it, it checks for a click and does not check for a drag - thus, if you move the mouse and hold it exactly in place for a long time, there will be no click or drag.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacob E, 2017-04-06
@Zifix

Why do you need time?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question