diff options
author | Zeno Albisser <zeno.albisser@digia.com> | 2013-05-27 08:44:36 -0700 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-31 10:55:54 +0200 |
commit | 26e8cf4c89e1851047e8e67c8cd69d43a94f3a15 (patch) | |
tree | 315f33848ab2c81ceacd53460da64f5965ea1771 /lib/backing_store_qt.cpp | |
parent | cdc942cc83f8d190faa55bdb16bd888c714fb1bb (diff) |
Exclude the scrollbars from being scrolled.
Diffstat (limited to 'lib/backing_store_qt.cpp')
-rw-r--r-- | lib/backing_store_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backing_store_qt.cpp b/lib/backing_store_qt.cpp index 1a057e479..32a0b40d4 100644 --- a/lib/backing_store_qt.cpp +++ b/lib/backing_store_qt.cpp @@ -92,7 +92,7 @@ void BackingStoreQt::ScrollBackingStore(const gfx::Vector2d &delta, const gfx::R { DCHECK(delta.x() == 0 || delta.y() == 0); - m_pixelBuffer.scroll(delta.x(), delta.y(), m_pixelBuffer.rect()); + m_pixelBuffer.scroll(delta.x(), delta.y(), clip_rect.x(), clip_rect.y(), clip_rect.width(), clip_rect.height()); } bool BackingStoreQt::CopyFromBackingStore(const gfx::Rect &rect, skia::PlatformBitmap *output) |