liutian 1 bulan lalu
induk
melakukan
669b7299cf
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) {