Skip to content
Snippets Groups Projects
Commit 442ad455 authored by Felix Riehm's avatar Felix Riehm
Browse files

change mute icon x position

parent ba590ea5
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ export class MuteIcon{ ...@@ -51,7 +51,7 @@ export class MuteIcon{
} }
private setPosition(){ private setPosition(){
this.image.attr('x', this.canvas.width/2 - this.image_width).attr('y', this.canvas.height/2 - this.image_width) this.image.attr('x', this.canvas.width/2 - this.image_width/2).attr('y', this.canvas.height/2 - this.image_width)
let text_x: number = this.canvas.width/2 - this.image_width/2; let text_x: number = this.canvas.width/2 - this.image_width/2;
this.text.attr('x', text_x).attr('y', (this.canvas.height/2 + 16)) this.text.attr('x', text_x).attr('y', (this.canvas.height/2 + 16))
this.line1.attr('x', text_x) this.line1.attr('x', text_x)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment