Commit e2cb51ba authored by Joanmarie Diggs's avatar Joanmarie Diggs

Add a top margin when scrolling to just under a banner

parent 32c77384
......@@ -361,7 +361,7 @@ def scrollToTopEdge(obj, startOffset=None, endOffset=None):
bannerX, bannerY, bannerWidth, bannerHeight = _objectExtents(banner)
_scrollToPoint(obj, bannerX + 10, bannerY + bannerHeight, startOffset, endOffset)
_scrollToPoint(obj, bannerX, bannerY + bannerHeight + 25, startOffset, endOffset)
def scrollToTopLeft(obj, startOffset=None, endOffset=None):
if not _canScrollTo:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment