[Webkit-unassigned] [Bug 100983] [EFL][WK2][AC] Wrong translation of mouse events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 2 02:09:01 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100983
--- Comment #2 from Kenneth Rohde Christiansen <kenneth at webkit.org> 2012-11-02 02:10:23 PST ---
(From update of attachment 171962)
View in context: https://bugs.webkit.org/attachment.cgi?id=171962&action=review
> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:211
>
> - transform.translate(-smartData->view.x, -smartData->view.y);
> -
> #if USE(TILED_BACKING_STORE)
> + transform.translate(-smartData->view.x / impl->pageViewportControllerClient()->scaleFactor(), -smartData->view.y / impl->pageViewportControllerClient()->scaleFactor());
> IntPoint scrollPos = impl->pageViewportControllerClient()->scrollPosition();
> transform.translate(scrollPos.x(), scrollPos.y());
> transform.scale(1 / impl->pageViewportControllerClient()->scaleFactor());
> +#else
> + transform.translate(-smartData->view.x, -smartData->view.y);
> #endif
why not just translate it after the scale is applied. That would turn the #else into an #endif
--
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