Integrating github/staging through commit ab87ed9
This commit is contained in:
@@ -2595,8 +2595,6 @@ float UiDynamicScrollBoxComponent::CalculateContentBeginningDeltaAfterSizeChange
|
||||
AZ::Vector2 curContentSize(0.0f, 0.0f);
|
||||
EBUS_EVENT_ID_RESULT(curContentSize, contentEntityId, UiTransformBus, GetCanvasSpaceSizeNoScaleRotate);
|
||||
|
||||
float curSize = m_isVertical ? curContentSize.GetY() : curContentSize.GetX();
|
||||
|
||||
UiTransform2dInterface::Offsets offsets;
|
||||
EBUS_EVENT_ID_RESULT(offsets, contentEntityId, UiTransform2dBus, GetOffsets);
|
||||
|
||||
@@ -2632,8 +2630,6 @@ float UiDynamicScrollBoxComponent::CalculateContentEndDeltaAfterSizeChange(float
|
||||
AZ::Vector2 curContentSize(0.0f, 0.0f);
|
||||
EBUS_EVENT_ID_RESULT(curContentSize, contentEntityId, UiTransformBus, GetCanvasSpaceSizeNoScaleRotate);
|
||||
|
||||
float curSize = m_isVertical ? curContentSize.GetY() : curContentSize.GetX();
|
||||
|
||||
UiTransform2dInterface::Offsets offsets;
|
||||
EBUS_EVENT_ID_RESULT(offsets, contentEntityId, UiTransform2dBus, GetOffsets);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user