--- a/eric7/WebBrowser/AutoScroll/AutoScroller.py Sun May 16 20:07:24 2021 +0200 +++ b/eric7/WebBrowser/AutoScroll/AutoScroller.py Mon May 17 19:58:15 2021 +0200 @@ -69,7 +69,7 @@ rect = self.__indicatorGlobalRect() xlen = 0 ylen = 0 - egp = evt.globalPos() + egp = evt.globalPosition().toPoint() if rect.left() > egp.x(): xlen = egp.x() - rect.left() @@ -125,7 +125,7 @@ """ if self.__enabled and self.__indicator.isVisible(): if not self.__indicatorGlobalRect().contains( - evt.globalPos()): + evt.globalPosition().toPoint()): self.__stopScrolling() return True