1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 04:36:34 +01:00

AutoScroll: Fix position of scroll indicator when site notification is visible

This commit is contained in:
David Rosca 2015-10-08 23:51:14 +02:00
parent d0f662d599
commit 3f3d202194

View File

@ -204,8 +204,8 @@ bool AutoScroller::showIndicator(WebView* view, const QPoint &pos)
p.setX(pos.x() - m_indicator->pixmap()->width() / 2);
p.setY(pos.y() - m_indicator->pixmap()->height() / 2);
m_indicator->setParent(view->overlayWidget());
m_indicator->move(p);
m_indicator->setParent(m_view->overlayWidget());
m_indicator->move(m_view->mapTo(m_view->overlayWidget(), p));
m_indicator->show();
m_frameScroller->setPage(view->page());