Поправки багов

This commit is contained in:
Book Pauk
2019-01-16 15:47:27 +07:00
parent de0eca3097
commit c49abaf8e5
2 changed files with 14 additions and 11 deletions

View File

@@ -6,8 +6,7 @@ export default class BookParser {
// defaults
this.p = 30;// px, отступ параграфа
this.w = 300;// px, ширина страницы
this.textAlignJustify = false;// выравнивание по ширине
this.wordWrap = false;// перенос по слогам, если textAlignJustify = true
this.wordWrap = false;// перенос по слогам
// заглушка
this.measureText = (text, style) => {// eslint-disable-line no-unused-vars