mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Revert "Remove the enableStampEditor
preference" (bug 1879588)
This reverts commit e820688510
.
This commit is contained in:
parent
7cfcd00a38
commit
bcc95460b6
4 changed files with 15 additions and 3 deletions
|
@ -453,8 +453,8 @@ const PDFViewerApplication = {
|
|||
|
||||
if (appConfig.annotationEditorParams) {
|
||||
if (annotationEditorMode !== AnnotationEditorType.DISABLE) {
|
||||
if (!isOffscreenCanvasSupported) {
|
||||
appConfig.toolbar?.editorStampButton?.classList.add("hidden");
|
||||
if (AppOptions.get("enableStampEditor") && isOffscreenCanvasSupported) {
|
||||
appConfig.toolbar?.editorStampButton?.classList.remove("hidden");
|
||||
}
|
||||
|
||||
const editorHighlightButton = appConfig.toolbar?.editorHighlightButton;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue