This commit is contained in:
Lorenzo Iovino 2017-05-22 12:31:08 +02:00
parent b366d366c8
commit c308b800df

View file

@ -54,6 +54,7 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit {
} else { } else {
this.setFontSize(this.container.clientWidth); this.setFontSize(this.container.clientWidth);
} }
}
this.el.nativeElement.style.setProperty('will-change', 'content'); this.el.nativeElement.style.setProperty('will-change', 'content');
} }