commit
42d243df4b
11 changed files with 61 additions and 80 deletions
|
|
@ -990,7 +990,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
|
||||
this.$getLongestLine = function() {
|
||||
var charCount = this.session.getScreenWidth();
|
||||
if (this.$textLayer.showInvisibles)
|
||||
if (this.showInvisibles && !this.session.$useWrapMode)
|
||||
charCount += 1;
|
||||
|
||||
return Math.max(this.$size.scrollerWidth - 2 * this.$padding, Math.round(charCount * this.characterWidth));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue