Skip to content
Snippets Groups Projects
Select Git revision
  • 77374373830f1cda2e64408f09defbab915da111
  • annotation-on-video default protected
  • demo_ci
  • 3-upstream-01022023
  • master
  • gh3538-captions
  • 16-adapt-for-images-annot
  • 15-api-for-annotations-on-video
  • 15-annotations-on-videos
  • video_for_annotations
  • wip-1-annotations-on-videos
  • 9-videoviewer-tests
  • 9_wip_videotests
  • 6-fix-tests-and-ci
  • _fix_ci
  • wip-webpack-from-git
16 results

__tests__

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    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.
    b5bb1f87
    History
    Name Last commit Last update
    ..