Skip to content

Commit

Permalink
Rotate dots
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrystas authored Feb 15, 2022
1 parent 52fea0e commit 9cedfb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/QRSVG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ export default class QRSVG {

this._dotsClipPath = document.createElementNS("http://www.w3.org/2000/svg", "clipPath");
this._dotsClipPath.setAttribute("id", "clip-path-dot-color");
this._dotsClipPath.style.transformOrigin = "center";
this._dotsClipPath.style.transform = "rotate(90deg) scale(1, -1)";
this._defs.appendChild(this._dotsClipPath);

this._createColor({
Expand Down

0 comments on commit 9cedfb9

Please sign in to comment.