浏览代码

К предыдущему

Book Pauk 6 年之前
父节点
当前提交
bc82087e59
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      client/components/Reader/TextPage/TextPage.vue

+ 2 - 2
client/components/Reader/TextPage/TextPage.vue

@@ -240,11 +240,11 @@ class TextPage extends Vue {
     }
 
     get canvasStyle1() {
-        return (this.activeCanvas ? {display: 'block'} : {display: 'none'});
+        return (this.activeCanvas ? {'z-index': 11} : {'z-index': 10});
     }
 
     get canvasStyle2() {
-        return (this.activeCanvas ? {display: 'none'} : {display: 'block'});
+        return (this.activeCanvas ? {'z-index': 10} : {'z-index': 11});
     }
     
     draw(immediate) {