While reviewing recent patches, I couldn't help but noticing that we now have a lot of call-sites that manually access the `PageViewport.viewBox`-property. Rather than repeating that verbatim all over the code-base, this patch adds a lazily computed and cached getter for this data instead. |
||
---|---|---|
.. | ||
annotation_editor_layer.js | ||
editor.js | ||
fit_curve.js | ||
freetext.js | ||
ink.js | ||
tools.js |