1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Fixed wall length showing up on top of the wall on Safari

This commit is contained in:
Jon Ziebell 2022-08-10 06:33:03 -04:00
parent 3de7b0f1fe
commit 52ffa740e2

View File

@ -200,8 +200,7 @@ beestat.component.floor_plan_entity.wall.prototype.decorate_text_ = function(par
this.text_.style.fill = '#ffffff';
this.text_.style.textAnchor = 'middle';
this.text_.style.letterSpacing = '-0.5px';
this.text_.style.dominantBaseline = 'hanging';
this.text_.setAttribute('dy', '5');
this.text_.setAttribute('dy', '1.1em');
this.text_path_ = document.createElementNS('http://www.w3.org/2000/svg', 'textPath');
this.text_path_.setAttribute('href', '#' + this.path_id_);