diff --git a/VERSION b/VERSION index c514bd85c2ecef1342dde79c99195d23edfc6a77..be05bba9829581391ff682daa1fe46b14fa20d14 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.6 +1.4.7 diff --git a/generator/static/js/avatar/template.js b/generator/static/js/avatar/template.js index 0ff516da26b3aa31ab80d13bc6b78cd5585a14d2..38cbb5c935a41b6f14110bc649f5e0de19a98ea5 100644 --- a/generator/static/js/avatar/template.js +++ b/generator/static/js/avatar/template.js @@ -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; }