Добавил настройки для изображений, добаил автоматический ресайз

This commit is contained in:
Book Pauk
2019-02-20 17:17:51 +07:00
parent 83fc586e03
commit 55d02495a3
5 changed files with 41 additions and 9 deletions

View File

@@ -217,8 +217,8 @@ class TextPage extends Vue {
this.parsed.maxWordLength = t.length - 1;
this.parsed.measureText = this.drawHelper.measureText.bind(this.drawHelper);
this.parsed.lineHeight = this.lineHeight;
this.parsed.showImages = true;
this.parsed.imageHeightLines = 100;
this.parsed.showImages = this.showImages;
this.parsed.imageHeightLines = this.imageHeightLines;
}
//statusBar