summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-05-19 13:47:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-19 16:59:11 +0200
commit1d5f63b333b4595ab21cd17b24de9908473a415c (patch)
treef649eac3bbd0d86de2e251008f85074b0d5bd926
parent106af9777253acb7c7f8061a8155b5df546ad93a (diff)
Fix jerky pinch-zooming
The kEnableScrollPrediction switch uses event timing to extrapolate events but this considerably reduces the smoothness of pinch-zooming. Assuming that this feature expects very well timed events, which we don't have in most of QPA platform plugins, disable the feature. Change-Id: I96bdd8b9e9cc870e232ad9c98bcad5857608870b Reviewed-by: Andras Becsi <andras.becsi@digia.com>
-rw-r--r--src/core/web_engine_context.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index b5ff1172..e9180bae 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -145,7 +145,6 @@ WebEngineContext::WebEngineContext()
parsedCommandLine->AppendSwitch(switches::kEnablePinch);
parsedCommandLine->AppendSwitch(switches::kEnableViewport);
parsedCommandLine->AppendSwitch(switches::kEnableViewportMeta);
- parsedCommandLine->AppendSwitch(switches::kEnableScrollPrediction);
parsedCommandLine->AppendSwitch(switches::kEnableSmoothScrolling);
parsedCommandLine->AppendSwitch(switches::kDisableAcceleratedVideo);
parsedCommandLine->AppendSwitch(switches::kDisableAudio);