mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 759775 - Update checkerboard telemetry code to handle RTL pages. r=Cwiiis
This commit is contained in:
parent
c33b5c2b62
commit
86c4abe906
@ -623,7 +623,7 @@ public class LayerRenderer {
|
||||
|
||||
/* restrict the viewport to page bounds so we don't
|
||||
* count overscroll as checkerboard */
|
||||
if (!viewport.intersect(0, 0, mPageRect.width(), mPageRect.height())) {
|
||||
if (!viewport.intersect(mPageRect)) {
|
||||
/* if the rectangles don't intersect
|
||||
intersect() doesn't change viewport
|
||||
so we set it to empty by hand */
|
||||
|
Loading…
Reference in New Issue
Block a user