Merge branch 'development' into cmake/SPEC-7484
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> # Conflicts: # Code/Editor/CryEditDoc.cpp # Code/Editor/CryEditDoc.h # Code/Legacy/CryCommon/CryArray.h # Code/Legacy/CryCommon/CryString.h # Code/Legacy/CryCommon/UnicodeBinding.h # Code/Legacy/CrySystem/LocalizedStringManager.cpp # Gems/LyShine/Code/Source/StringUtfUtils.h # Gems/PhysXDebug/Code/Source/SystemComponent.cpp
This commit is contained in:
@@ -4417,7 +4417,7 @@ void UiTextComponent::HandleWidthOnlyShrinkToFitWithWrapping(
|
||||
{
|
||||
// Consider the sizes of all overflowing lines when calculating the
|
||||
// scale to reduce the number of times we need to iterate.
|
||||
int numOverflowingLines = drawBatchLinesOut.batchLines.size() - maxLinesElementCanHold;
|
||||
int numOverflowingLines = static_cast<int>(drawBatchLinesOut.batchLines.size() - maxLinesElementCanHold);
|
||||
DrawBatchLineContainer::reverse_iterator riter;
|
||||
int overflowLineCount = 0;
|
||||
float overflowingLineSize = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user