liutian 1 mēnesi atpakaļ
vecāks
revīzija
669b7299cf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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.outerLineContainer.append(rectContainer)
     this.outerLineContainer.append(deletetButton)
-    this.outerLineContainer.append(this.replyButton)
+    this.enableReply && this.outerLineContainer.append(this.replyButton)
   }
 
   getActualRect (viewport, s) {