fix Text
This commit is contained in:
@@ -203,6 +203,12 @@ public class Text {
|
|||||||
}
|
}
|
||||||
} else if (obj instanceof TextColor) {
|
} else if (obj instanceof TextColor) {
|
||||||
color = (TextColor) obj;
|
color = (TextColor) obj;
|
||||||
|
} else if (obj != null){
|
||||||
|
if (content == null) {
|
||||||
|
content = obj.toString();
|
||||||
|
} else {
|
||||||
|
content = content.concat(obj.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user