annotation: fix calc mobile comment not visible

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I37dc47e7daf991c1b2bb771fc1a96e939edd270d
This commit is contained in:
Pranam Lashkari 2024-03-26 17:09:22 +05:30 committed by Pranam Lashkari
parent 959f9b5467
commit 422ba3e333

View file

@ -700,8 +700,8 @@ export class Comment extends CanvasSectionObject {
this.positionCalcComment();
if (!(<any>window).mode.isMobile()) {
this.sectionProperties.commentListSection.select(this);
this.sectionProperties.container.style.visibility = '';
}
this.sectionProperties.container.style.visibility = '';
}
private getCommentWidth() {