Revert "fixed: legacy word-wrapped TextFields would sometimes leave an extra empty line below"
This reverts commit d4cc390c45.
This commit is contained in:
@@ -1990,9 +1990,7 @@ void TextField::Layout(const Matrix &inMatrix)
|
|||||||
line.mCharGroup0 = mCharGroups.size()-1;
|
line.mCharGroup0 = mCharGroups.size()-1;
|
||||||
line.mCharInGroup0 = last->mString.size();
|
line.mCharInGroup0 = last->mString.size();
|
||||||
}
|
}
|
||||||
if ((endsWidthNewLine && multiline) || mLines.empty()){
|
charY += line.mMetrics.height;
|
||||||
charY += line.mMetrics.height;
|
|
||||||
}
|
|
||||||
mLines.push_back(line);
|
mLines.push_back(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user