1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-10 18:00:11 +01: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();
};
bigImg.src = highlightEvent.target.src;
bigImg.style.rotate = highlightEvent.target.style.rotate;
this.imageHighlighter.appendChild(bigImg);
}