if (fontScaleX != 1 || fontScaleY != 1) font.setScale(oldScaleX, oldScaleY);
}
public void draw (SpriteBatch batch, float parentAlpha) {
validate();
Color color = getColor();
if (style.background != null) {
batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
style.background.draw(batch, getX(), getY(), getWidth(), getHeight());
}
cache.setColor(style.fontColor == null ? color : Color.tmp.set(color).mul(style.fontColor));