diff --git a/src/display/editor/freetext.js b/src/display/editor/freetext.js index 1b04c7066b909..efaa418856e9b 100644 --- a/src/display/editor/freetext.js +++ b/src/display/editor/freetext.js @@ -56,8 +56,7 @@ class FreeTextEditor extends AnnotationEditor { PDFJSDev.test("!PRODUCTION || TESTING") ) { const lineHeight = parseFloat( - style.getPropertyValue("--freetext-line-height"), - 10 + style.getPropertyValue("--freetext-line-height") ); assert( lineHeight === LINE_FACTOR, @@ -66,8 +65,7 @@ class FreeTextEditor extends AnnotationEditor { } this._internalPadding = parseFloat( - style.getPropertyValue("--freetext-padding"), - 10 + style.getPropertyValue("--freetext-padding") ); }