mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #17652 from calixteman/editor_disable_thickness
[Editor] Disable the thickness slider for non-free highlight
This commit is contained in:
commit
9980447d25
3 changed files with 5 additions and 0 deletions
|
@ -84,6 +84,9 @@ class AnnotationEditorParams {
|
|||
case AnnotationEditorParamsType.HIGHLIGHT_THICKNESS:
|
||||
editorFreeHighlightThickness.value = value;
|
||||
break;
|
||||
case AnnotationEditorParamsType.HIGHLIGHT_FREE:
|
||||
editorFreeHighlightThickness.disabled = !value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue