mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 383010 - Visual glitches while scrolling pages with position:fixed elements, patch by Stephen Moehle, r+sr=roc
This commit is contained in:
parent
ef769fe157
commit
2222214a4b
@ -594,11 +594,12 @@ void nsScrollPortView::Scroll(nsView *aScrolledView, nsPoint aTwipsDelta, nsPoin
|
||||
biggestRect = *r;
|
||||
}
|
||||
}
|
||||
toScrollPtr = &toScroll;
|
||||
biggestRect.ScaleRoundIn(1.0/aP2A);
|
||||
toScroll = biggestRect;
|
||||
biggestRect *= aP2A;
|
||||
regionToScroll.Sub(regionToScroll, biggestRect);
|
||||
updateRegion.Or(updateRegion, regionToScroll);
|
||||
toScrollPtr = &toScroll;
|
||||
toScroll = biggestRect;
|
||||
toScroll.ScaleRoundOut(1.0/aP2A);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user