more fixes for Gems
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user