Skip to content

Commit

Permalink
added svg property to round corners of images (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek authored Dec 4, 2023
1 parent dcfe341 commit fd762fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions teammapper-frontend/mmp/src/map/handlers/draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export default class Draw {
domImage.setAttribute('width', w.toString())
domImage.setAttribute('y', y.toString())
domImage.setAttribute('x', x.toString())
domImage.setAttribute('clip-path', 'inset(0% round 15px)')
}

image.onerror = function () {
Expand Down

0 comments on commit fd762fb

Please sign in to comment.