Search
SailfishOS Open Build Service
>
Projects
>
home:siteshwar
:
branches:nemo:devel:mw
>
xulrunner-qt5
> _service:tar_git:0010-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:0010-Limit-maximum-scale-to-4x.-Fixes-JB-25377.patch of Package xulrunner-qt5
From 5ba554e87aebfd70b0d02bbd425a172a651d60df 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 10/15] 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.1.4