24.05.2018, 13:57
Hi,
I know that updatetime in event scripts shown only current time of event.
I suppose that save of previous state of updatetime field will be helpful for some application.
For example it is very simple to make doubleclick handler:
is_doubleclick = prev_updatetime + dblclick_timeout < updatetime
Just now I should use storage for save prev click time but think that using prev updatetime will be more elegant solution
I know that updatetime in event scripts shown only current time of event.
I suppose that save of previous state of updatetime field will be helpful for some application.
For example it is very simple to make doubleclick handler:
is_doubleclick = prev_updatetime + dblclick_timeout < updatetime
Just now I should use storage for save prev click time but think that using prev updatetime will be more elegant solution