[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/flake
From: Dmitry Kazakov <dimula73 () gmail ! com>
Date: 2010-09-24 5:10:46
Message-ID: 20100924051046.B1D2BAC88C () svn ! kde ! org
[Download RAW message or body]
SVN commit 1178853 by dkazakov:
Removed additional check
The range is guaranteed by the scroll bars, so it is excessive. More
than that, this check breaks auto-scrolling in Vast Scrolling mode.
BUG:251361
M +1 -1 KoCanvasControllerWidget.cpp
--- trunk/koffice/libs/flake/KoCanvasControllerWidget.cpp #1178852:1178853
@@ -398,7 +398,7 @@
void KoCanvasControllerWidget::ensureVisible(const QRectF &rect, bool smooth)
{
- QRect currentVisible(qMax(0, -canvasOffsetX()), qMax(0, -canvasOffsetY()), \
visibleWidth(), visibleHeight()); + QRect currentVisible(-canvasOffsetX(), \
-canvasOffsetY(), visibleWidth(), visibleHeight());
QRect viewRect = rect.toRect();
viewRect.translate(d->canvas->documentOrigin());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic