1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #18594 from Snuffleupagus/rm-enableHighlightEditor-pref

Remove the `enableHighlightEditor` preference
This commit is contained in:
Jonas Jenwald 2024-08-13 08:14:09 +02:00 committed by GitHub
commit 17b24639b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1 additions and 18 deletions

View file

@ -558,11 +558,6 @@ const PDFViewerApplication = {
typeof AbortSignal.any === "function") &&
annotationEditorMode !== AnnotationEditorType.DISABLE
) {
const editorHighlightButton = appConfig.toolbar?.editorHighlightButton;
if (editorHighlightButton && AppOptions.get("enableHighlightEditor")) {
editorHighlightButton.hidden = false;
}
this.annotationEditorParams = new AnnotationEditorParams(
appConfig.annotationEditorParams,
eventBus