From cbf1c3a59bcea4c99788a8af782f84e708977baf Mon Sep 17 00:00:00 2001 From: Eric <71648843+sbplat@users.noreply.github.com> Date: Sun, 15 Sep 2024 10:31:19 -0700 Subject: [PATCH] feat: rotate preview in multitool (#1909) --- src/main/resources/static/js/multitool/ImageHighlighter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/static/js/multitool/ImageHighlighter.js b/src/main/resources/static/js/multitool/ImageHighlighter.js index 7fc53209..cf5d161a 100644 --- a/src/main/resources/static/js/multitool/ImageHighlighter.js +++ b/src/main/resources/static/js/multitool/ImageHighlighter.js @@ -29,6 +29,7 @@ class ImageHighlighter { imageClickEvent.stopPropagation(); }; bigImg.src = highlightEvent.target.src; + bigImg.style.rotate = highlightEvent.target.style.rotate; this.imageHighlighter.appendChild(bigImg); }