unfortunately this has to be disabled since blocks clicks on webview :/
svn path=/trunk/KDE/kdelibs/; revision=1059153
This commit is contained in:
parent
6cc357bb94
commit
ac7e75f460
@ -234,12 +234,6 @@ void KineticScrolling::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
|||||||
d->syncViewportRect();
|
d->syncViewportRect();
|
||||||
d->cposition = -d->parent->property("scrollPosition").value<QPointF>();
|
d->cposition = -d->parent->property("scrollPosition").value<QPointF>();
|
||||||
|
|
||||||
if (event && d->cposition == QPointF(0, 0) &&
|
|
||||||
d->viewportGeometry.width() + 2 >= d->contentsSize.width() &&
|
|
||||||
d->viewportGeometry.height() + 2 >= d->contentsSize.height()) {
|
|
||||||
event->ignore( );
|
|
||||||
}
|
|
||||||
|
|
||||||
d->count();
|
d->count();
|
||||||
d->kinMovement = QPointF(0,0);
|
d->kinMovement = QPointF(0,0);
|
||||||
d->scrollAnimation->setEasingCurve(QEasingCurve::OutCirc);
|
d->scrollAnimation->setEasingCurve(QEasingCurve::OutCirc);
|
||||||
|
Loading…
Reference in New Issue
Block a user