Ver código fonte

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

Book Pauk 5 anos atrás
pai
commit
1059245fd9
1 arquivos alterados com 7 adições e 4 exclusões
  1. 7 4
      client/components/Reader/TextPage/TextPage.vue

+ 7 - 4
client/components/Reader/TextPage/TextPage.vue

@@ -460,10 +460,13 @@ class TextPage extends Vue {
         /*this.page1 = null;
         this.page2 = null;
         this.statusBar = null;*/
-
-        this.calcDrawProps();
-        this.setBackground();
-        this.draw();
+        try {
+            this.calcDrawProps();
+            this.setBackground();
+            this.draw();
+        } catch (e) {
+            //
+        }
     }
 
     get settings() {