Fix setText('')/clearText() issue with text views
This commit is contained in:
parent
12d4c158c4
commit
8aa42342a2
|
@ -151,7 +151,7 @@ TextView.prototype.redraw = function() {
|
||||||
// and there is no actual text (e.g. save SGR's and processing)
|
// and there is no actual text (e.g. save SGR's and processing)
|
||||||
//
|
//
|
||||||
if(!this.hasDrawnOnce) {
|
if(!this.hasDrawnOnce) {
|
||||||
if(!this.text) {
|
if(_.isUndefined(this.text)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue