forked from enlightenment/efl
elm/scrollable: Fix count of mouse move events.
It should use just the events that really happened (after the mouse move starting timestamp).
This commit is contained in:
parent
cc19e3948d
commit
678c41b289
|
@ -2862,6 +2862,7 @@ _elm_scroll_hold_animator(void *data)
|
|||
if (dt > twin)
|
||||
{
|
||||
i--;
|
||||
count--;
|
||||
break;
|
||||
}
|
||||
x = sid->down.history[i].x;
|
||||
|
@ -2878,7 +2879,6 @@ _elm_scroll_hold_animator(void *data)
|
|||
count++;
|
||||
}
|
||||
}
|
||||
count = i;
|
||||
if (count >= 2)
|
||||
{
|
||||
double dtsum = 0.0, tadd, maxdt;
|
||||
|
|
Loading…
Reference in New Issue