|
@@ -123,7 +123,7 @@ class TextAnnotation extends BaseAnnotation {
|
|
|
deletetButton.addEventListener('click', this.onDelete)
|
|
|
deletetButton.innerHTML = this.deleteSvgStr
|
|
|
deletetButton.style.left = (rect.left + rect.width - 30) + 'px'
|
|
|
- deletetButton.style.top = (rect.top - 38) + 'px'
|
|
|
+ deletetButton.style.top = (rect.top + rect.height + 8) + 'px'
|
|
|
|
|
|
this.replyButton = createElement(
|
|
|
'div',
|
|
@@ -143,7 +143,7 @@ class TextAnnotation extends BaseAnnotation {
|
|
|
this.replyButton.addEventListener('click', this.onOpenReply)
|
|
|
this.replyButton.innerHTML = this.replySvgStr
|
|
|
this.replyButton.style.left = (rect.left + rect.width - 65) + 'px'
|
|
|
- this.replyButton.style.top = (rect.top - 38) + 'px'
|
|
|
+ this.replyButton.style.top = (rect.top + rect.height + 8) + 'px'
|
|
|
|
|
|
this.deletetButton = deletetButton
|
|
|
this.outerLineContainer.append(rectContainer)
|