mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 880578 - Fix updating of scroll position; r=BenWa
This commit is contained in:
parent
160b5efcba
commit
f8ff1502e7
@ -1037,6 +1037,10 @@ void AsyncPanZoomController::RequestContentRepaint() {
|
||||
fabsf(oldDisplayPort.y - newDisplayPort.y) < EPSILON &&
|
||||
fabsf(oldDisplayPort.width - newDisplayPort.width) < EPSILON &&
|
||||
fabsf(oldDisplayPort.height - newDisplayPort.height) < EPSILON &&
|
||||
fabsf(mLastPaintRequestMetrics.mScrollOffset.x -
|
||||
mFrameMetrics.mScrollOffset.x) < EPSILON &&
|
||||
fabsf(mLastPaintRequestMetrics.mScrollOffset.y -
|
||||
mFrameMetrics.mScrollOffset.y) < EPSILON &&
|
||||
mFrameMetrics.mResolution.width == mLastPaintRequestMetrics.mResolution.width) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user