mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Handle possibly undefined parameters *once* per AnnotationLayer.render
invocation
There's no reason to repeat this for every single annotation. Also, adds a couple of missing JSDoc-parameters.
This commit is contained in:
parent
e182597cb1
commit
dcf9ff2182
2 changed files with 64 additions and 60 deletions
|
@ -42,7 +42,7 @@ import { PresentationModeState } from "./ui_utils.js";
|
|||
* @property {Promise<Object<string, Array<Object>> | null>}
|
||||
* [fieldObjectsPromise]
|
||||
* @property {Map<string, HTMLCanvasElement>} [annotationCanvasMap]
|
||||
* @property {TextAccessibilityManager} accessibilityManager
|
||||
* @property {TextAccessibilityManager} [accessibilityManager]
|
||||
*/
|
||||
|
||||
class AnnotationLayerBuilder {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue