Search
SailfishOS Open Build Service
>
Projects
>
home:r0kk3rz
:
sailfish-browser
>
xulrunner-qt5
> _service:tar_git:0009-Limit-maximum-scale-to-4x.-Fixes-JB-25377.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0009-Limit-maximum-scale-to-4x.-Fixes-JB-25377.patch of Package xulrunner-qt5
From 0064b5ccb3ae62131d81618b08bcff088d210a9f Mon Sep 17 00:00:00 2001 From: Raine Makelainen <raine.makelainen@jolla.com> Date: Mon, 12 Oct 2015 16:22:59 +0300 Subject: [PATCH 09/18] Limit maximum scale to 4x. Fixes JB#25377 The default zoom contraints now matches to the EmbedContentController. Signed-off-by: Raine Makelainen <raine.makelainen@jolla.com> --- gfx/layers/apz/src/AsyncPanZoomController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/layers/apz/src/AsyncPanZoomController.cpp b/gfx/layers/apz/src/AsyncPanZoomController.cpp index cffad74..ceb7f6c 100644 --- a/gfx/layers/apz/src/AsyncPanZoomController.cpp +++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp @@ -397,7 +397,7 @@ StaticAutoPtr<ComputedTimingFunction> gVelocityCurveFunction; /** * Maximum zoom amount, always used, even if a page asks for higher. */ -static const CSSToParentLayerScale MAX_ZOOM(8.0f); +static const CSSToParentLayerScale MAX_ZOOM(4.0f); /** * Minimum zoom amount, always used, even if a page asks for lower. -- 2.7.4