more fixes for Gems

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 14:51:12 -07:00
parent 9245a31196
commit ea2f74dc0f
66 changed files with 62 additions and 348 deletions
@@ -1500,7 +1500,6 @@ AZ::Vector2 UiScrollBoxComponent::ConstrainOffset(AZ::Vector2 proposedOffset, AZ
// add the requested scroll offset to the content rect to get the proposed position
// The content has already need moved by the requested offset all but latestOffsetDelta
UiTransformInterface::Rect origContentRect = contentRect;
contentRect.MoveBy(latestOffsetDelta);
if (contentRect.GetWidth() <= parentRect.GetWidth())