Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Apr 30, 2022
1 parent a34aec6 commit 126b947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/ImageSnippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const getSnippet = (viewer, element) => {
const shape = hasClass(element, '.a9s-annotation') ?
element : element.closest('.a9s-annotation');

const outer = shape.querySelector('.a9s-inner');
const outer = shape.querySelector('.a9s-outer');
const outerBounds = outer.getBoundingClientRect();

// Scale factor for OSD canvas element (physical vs. logical resolution)
Expand Down

0 comments on commit 126b947

Please sign in to comment.