From 50b5f346a7d36ecbf20341505085116d98c678ad Mon Sep 17 00:00:00 2001 From: roenschg Date: Thu, 6 Nov 2014 13:20:51 +0100 Subject: [PATCH] Apply styles to the labels. --- src/modules/symbols/labeledbubble.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/symbols/labeledbubble.coffee b/src/modules/symbols/labeledbubble.coffee index fe943c4..6f0c0fa 100644 --- a/src/modules/symbols/labeledbubble.coffee +++ b/src/modules/symbols/labeledbubble.coffee @@ -61,7 +61,9 @@ class LabeledBubble extends Bubble 'stroke-linecap': 'round' 'stroke-width': 6 me.label.attr attrs - me.label.toFront() + me.label.toFront + me.label.node.setAttribute 'style', attrs['style'] + me.label.node.setAttribute 'class', attrs['class'] me