Skip to content
Snippets Groups Projects
Commit 1eac1183 authored by Tomáš Hozman's avatar Tomáš Hozman
Browse files

square avatar

parent e7c33e98
No related branches found
No related tags found
No related merge requests found
Pipeline #9716 passed
1.4.6
1.4.7
......@@ -375,27 +375,6 @@ class AvatarTemplate {
}
}
if (/.*Olomouc-(kandidat|volim).*\.png/.test(this.darkIconDefaultSource)) {
this.context.globalCompositeOperation = "destination-in";
this.context.beginPath();
this.context.arc(
this.canvas.width / 2,
this.canvas.height / 2,
this.canvas.width / 2,
0,
2 * Math.PI,
false
);
this.context.fill();
this.context.closePath();
this.context.globalCompositeOperation = "source-over";
}
this.redrawing = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment