From 126b947208be7e379f47dfe171292ad4f1b1bb0f Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Sat, 30 Apr 2022 13:15:52 +0200 Subject: [PATCH] Minor tweak --- src/util/ImageSnippet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/ImageSnippet.js b/src/util/ImageSnippet.js index 48fb258..882b1a6 100644 --- a/src/util/ImageSnippet.js +++ b/src/util/ImageSnippet.js @@ -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)