mirror of https://github.com/axmolengine/axmol.git
label:fixed vertical alignment is incorrect.
This commit is contained in:
parent
bf8506d687
commit
4905acfa0b
|
@ -304,7 +304,7 @@ bool LabelTextFormatter::createStringSprites(Label *theLabel)
|
|||
nextFontPositionY = (labelHeightPixel + totalHeight) / 2.0f;
|
||||
break;
|
||||
case TextVAlignment::BOTTOM:
|
||||
nextFontPositionY = labelHeightPixel;
|
||||
nextFontPositionY = totalHeight;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue