An error occurred while fetching folder content.
Select Git revision
__tests__
-
-
- Open in your IDE
- Download source code
- Download this directory
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 |
---|---|---|
.. |