liutian 1 mese fa
parent
commit
669b7299cf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/core/src/markup/text_annotation.js

+ 1 - 1
packages/core/src/markup/text_annotation.js

@@ -150,7 +150,7 @@ class TextAnnotation extends BaseAnnotation {
     this.deletetButton = deletetButton
     this.deletetButton = deletetButton
     this.outerLineContainer.append(rectContainer)
     this.outerLineContainer.append(rectContainer)
     this.outerLineContainer.append(deletetButton)
     this.outerLineContainer.append(deletetButton)
-    this.outerLineContainer.append(this.replyButton)
+    this.enableReply && this.outerLineContainer.append(this.replyButton)
   }
   }
 
 
   getActualRect (viewport, s) {
   getActualRect (viewport, s) {