1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-09-21 04:10:38 +02:00

feat: rotate preview in multitool (#1909)

This commit is contained in:
Eric 2024-09-15 10:31:19 -07:00 committed by GitHub
parent b13b925bf0
commit cbf1c3a59b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,7 @@ class ImageHighlighter {
imageClickEvent.stopPropagation(); imageClickEvent.stopPropagation();
}; };
bigImg.src = highlightEvent.target.src; bigImg.src = highlightEvent.target.src;
bigImg.style.rotate = highlightEvent.target.style.rotate;
this.imageHighlighter.appendChild(bigImg); this.imageHighlighter.appendChild(bigImg);
} }