[Webkit-unassigned] [Bug 92394] [Qt] Fix axis locking when panning on N9

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 09:53:01 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=92394





--- Comment #8 from Andras Becsi <abecsi at webkit.org>  2012-07-31 09:53:01 PST ---
(From update of attachment 155546)
View in context: https://bugs.webkit.org/attachment.cgi?id=155546&action=review

It should be OK to use the local position for the velocity calculation.
This looks good to me now.

> Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:204
> +    const ulong elapsed = event->timestamp() - m_time;
>  
>      if (!elapsed)
>          return QVector2D(0, 0);

You could add an ASSERT to assure that the calculated elapsed time is positive, but that's only a nitpick.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list