Explorar el Código

Мелкая поправка

Book Pauk hace 6 años
padre
commit
631c5930e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client/components/Reader/share/BookParser.js

+ 1 - 1
client/components/Reader/share/BookParser.js

@@ -664,7 +664,7 @@ export default class BookParser {
                 parsed.visible = this.showImages;
                 let bin = this.binary[part.image.id];
                 if (!bin)
-                    bin = {h: 0, w: 0};
+                    bin = {h: 1, w: 1};
 
                 let lineCount = this.imageHeightLines;
                 let c = Math.ceil(bin.h/this.lineHeight);