Border change

This commit is contained in:
ziajka 2018-04-27 16:38:46 +02:00
parent 384a51ccea
commit 6ed754252c

View File

@ -77,7 +77,10 @@ export class InterfaceLabelWidget {
merge
.select<SVGTextElement>('text.interface_label')
.text((l: InterfaceLabel) => l.text)
.attr('style', (l: InterfaceLabel) => this.cssFixer.fix(l.style));
.attr('style', (l: InterfaceLabel) => this.cssFixer.fix(l.style))
.attr('x', -InterfaceLabelWidget.SURROUNDING_TEXT_BORDER)
.attr('y', -InterfaceLabelWidget.SURROUNDING_TEXT_BORDER);
// update surrounding rect
merge