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

fixed circle-ification for olomouc

parent d70a348f
No related branches found
No related tags found
No related merge requests found
Pipeline #9687 passed
...@@ -375,10 +375,7 @@ class AvatarTemplate { ...@@ -375,10 +375,7 @@ class AvatarTemplate {
} }
} }
if ( if (/.*Olomouc-(kandidat|volim).*\.png/.test(this.darkIconDefaultSource)) {
this.darkIconDefaultSource.endsWith("Olomouc-kandidat.png") ||
this.darkIconDefaultSource.endsWith("Olomouc-volim.png")
) {
this.context.globalCompositeOperation = "destination-in"; this.context.globalCompositeOperation = "destination-in";
this.context.beginPath(); this.context.beginPath();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment