|
|
|
|
|
|
if (hasStyle) { |
|
|
|
builder.pushStyle(this.style, textScaleFactor); |
|
|
|
} |
|
|
|
|
|
|
|
if (this.splitedText.Count == 1 && !char.IsHighSurrogate(this.splitedText[0][0])) { |
|
|
|
if (this.splitedText.Count == 1 && !char.IsHighSurrogate(this.splitedText[0][0]) && |
|
|
|
!EmojiUtils.isSingleCharEmoji(this.splitedText[0][0])) { |
|
|
|
builder.addText(this.splitedText[0]); |
|
|
|
} |
|
|
|
else { |
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.children != null) { |
|
|
|
foreach (var child in this.children) { |
|
|
|
|
|
|
need = true; |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
return true; |
|
|
|
}); |
|
|
|
return need; |
|
|
|
|
|
|
if (!Equals(this.hoverRecognizer, other.hoverRecognizer)) { |
|
|
|
result = RenderComparison.function > result ? RenderComparison.function : result; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.style != null) { |
|
|
|
var candidate = this.style.compareTo(other.style); |
|
|
|
if (candidate > result) { |
|
|
|