Rebuild the layout when new text is entered in the text demo
This commit is contained in:
parent
8c89ef9938
commit
99c7e685e7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue