diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-08-11 22:42:56 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-08-11 22:42:56 +0200 |
commit | c3639bb5c48e44142586f01c89248b54ab0aae58 (patch) | |
tree | b70e03cc49425e916c9273547fedb05d919826f6 /src | |
parent | Fix the factor (diff) | |
download | rekonq-c3639bb5c48e44142586f01c89248b54ab0aae58.tar.xz |
Fix smooth scrolling for some sites (eg: gmail)
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index ebf13588..7fcb3ecb 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -677,9 +677,9 @@ void WebView::scrollTick() } if (_scrollBottom) - page()->mainFrame()->setScrollPosition( QPoint( 0, page()->mainFrame()->scrollPosition().y() + scroll_y ) ); + page()->currentFrame()->scroll(0, scroll_y); else - page()->mainFrame()->setScrollPosition( QPoint( 0, page()->mainFrame()->scrollPosition().y() - scroll_y ) ); + page()->currentFrame()->scroll(0, -scroll_y); } |