1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

[Editor] Correctly rotate the mask when rotation a free highlight (bug 1879102)

This commit is contained in:
Calixte Denizet 2024-02-08 15:29:29 +01:00
parent d7479a59b7
commit c4ac7eef95
2 changed files with 7 additions and 3 deletions

View file

@ -154,6 +154,7 @@ class DrawLayer {
use.setAttribute("stroke", "none");
use.setAttribute("fill", "black");
use.setAttribute("fill-rule", "nonzero");
use.classList.add("mask");
}
const use1 = DrawLayer._svgFactory.createElement("use");