Fix typo in the --hcm-highlight-filter CSS variable name (issue 17254)

This commit is contained in:
Jonas Jenwald 2023-11-13 11:18:35 +01:00
parent 7b89e7e0d2
commit 90864a5672
3 changed files with 5 additions and 5 deletions

View file

@ -886,7 +886,7 @@ class PDFViewer {
this.pageColors?.background === "Canvas"
) {
this.viewer.style.setProperty(
"--hcm-highligh-filter",
"--hcm-highlight-filter",
pdfDocument.filterFactory.addHighlightHCMFilter(
"CanvasText",
"Canvas",