Select Git revision
src
Johannes Baiter
authored and
Chris Beer
committed
When users configure a viewport margin for OSD (via `osdConfig.viewportMargins`), annotation rendering would be broken, since the `osd.viewport.getBoundsNoRottate()` call to get the viewport boundary would return the viewport *without* the margin, which would lead to wrong calculations down the line. The fix is to simply call `osd.viewport.getBoundsNoRotateWithMargins` instead to obtain the correct full viewport size.
Name | Last commit | Last update |
---|---|---|
.. | ||
components | ||
config | ||
containers | ||
extend | ||
lib | ||
locales | ||
plugins | ||
state | ||
styles | ||
i18n.js | ||
index.js | ||
init.js | ||
polyfills.js |