RED-3856: keep rectangle tool active on page change

This commit is contained in:
Dan Percic 2022-05-02 15:38:30 +03:00
parent 4dfed3ec7d
commit e5e742423a

View File

@ -488,7 +488,6 @@ export class PdfViewerComponent extends AutoUnsubscribe implements OnInit, OnCha
}
private _handleCustomActions() {
this.instance.UI.setToolMode('AnnotationEdit');
const textPopupsToToggle = [TextPopups.ADD_REDACTION, TextPopups.ADD_RECTANGLE, TextPopups.ADD_FALSE_POSITIVE];
const headerItemsToToggle = [
HeaderElements.SHAPE_TOOL_GROUP_BUTTON,