mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
AutoScroll: Fix position of scroll indicator when site notification is visible
This commit is contained in:
parent
d0f662d599
commit
3f3d202194
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user