Rebuild the layout when new text is entered in the text demo

This commit is contained in:
Patrick Walton 2017-11-20 17:09:39 -08:00
parent 8c89ef9938
commit 99c7e685e7
1 changed files with 2 additions and 1 deletions

View File

@ -183,8 +183,9 @@ class TextDemoController extends DemoAppController<TextDemoView> {
private updateText(): void {
this.text = this.editTextArea.value;
window.jQuery(this.editTextModal).modal('hide');
this.recreateLayout(this.font);
}
private recreateLayout(font: PathfinderFont) {