summaryrefslogtreecommitdiff
path: root/src/client/view
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-03-23 13:12:43 +0200
committerLV-426 <lv-426@taproot.org.il>2015-04-01 22:25:51 +0300
commitd1e4dd4975aab7374022bac6b276961855622eb9 (patch)
tree7718d23306aa8fd00abd8b0310ae4dc4a22b9d4f /src/client/view
parentf75ce21c1d6101bdd435d8bcf25ded0e0534a380 (diff)
creation bubble SVG blur effect
Diffstat (limited to 'src/client/view')
-rw-r--r--src/client/view/bubble.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/view/bubble.js b/src/client/view/bubble.js
index 0b3787b7..c9f45701 100644
--- a/src/client/view/bubble.js
+++ b/src/client/view/bubble.js
@@ -21,6 +21,9 @@ function Bubble(raw_parent, radius) {
circle.className.baseVal = 'circle bubble';
circle.id = 'bubble';
+ d3.select('#bubble').attr('stroke-width', 10)
+ .attr('filter', 'url(#f_blur__creation-circle)')
+
// reset bubble on radius change and window resize
Bacon.combineWith(function (r, _) { return r; }, radius, $(window).asEventStream('resize').toProperty(0)).onValue(
function (r) {