Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 44498e8

Browse files
committed
textspan equal
1 parent 9512956 commit 44498e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/painting/text_painter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public string ellipsis {
6666
public TextSpan text {
6767
get { return this._text; }
6868
set {
69-
if ((this._text == null && value == null) || this.text.Equals(value)) {
69+
if ((this._text == null && value == null) || (this._text != null && this.text.Equals(value))) {
7070
return;
7171
}
7272

0 commit comments

Comments
 (0)