From 9e47252ceb160d1fd9caba8b7c3793d763cb94d6 Mon Sep 17 00:00:00 2001 From: Diego Soenens Date: Tue, 30 Jul 2013 21:39:52 +0200 Subject: Move autoscroll timer interval from 100ms to 16ms The current m_autoScrollTimer interval of 100ms (10 FPS!) makes auto-scrolling feel sluggish and unresponsive. IMHO it should have the same interval as m_smoothScrollTimer (16ms) so that it feels smooth and responsive. REVIEW: 111567 REVIEWED-BY: adjam --- src/webtab/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp index ce3f5a9f..40a62864 100644 --- a/src/webtab/webview.cpp +++ b/src/webtab/webview.cpp @@ -114,7 +114,7 @@ WebView::WebView(QWidget* parent, bool isPrivateBrowsing) // Auto scroll timer connect(m_autoScrollTimer, SIGNAL(timeout()), this, SLOT(scrollFrameChanged())); - m_autoScrollTimer->setInterval(100); + m_autoScrollTimer->setInterval(16); // Smooth scroll timer connect(m_smoothScrollTimer, SIGNAL(timeout()), this, SLOT(scrollTick())); -- cgit v1.2.1