Searched refs:extraBoundsY (Results 1 – 1 of 1) sorted by relevance
562 float scrollRange, extraBoundsX, extraBoundsY; in AdjustPosition() local564 scrollRange = extraBoundsX = extraBoundsY = 0; in AdjustPosition()572 extraBoundsX = extraBoundsY = ViewportScrollBorder; in AdjustPosition()581 …if (targetCenterViewY < ViewportScrollBorder) extraBoundsY = std::min<float>(ViewportScrollBorder … in AdjustPosition()582 …else if (targetCenterViewY >= ::Landscape.GetHeight() - ViewportScrollBorder) extraBoundsY = std::… in AdjustPosition()586 extraBoundsY = std::max(extraBoundsY, (ViewHgt/Zoom - ::Landscape.GetHeight())/2 + 1); in AdjustPosition()604 …Clamp(targetCenterViewY, ViewHgt/Zoom/2 - extraBoundsY, ::Landscape.GetHeight() - ViewHgt/Zoom/2 +… in AdjustPosition()