From 03ceaee7b2b5ef8da1335d6cd51828d19e0ea325 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 15 Apr 2015 22:03:54 +0200 Subject: client: add images using existing circles --- src/client/rz_core.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/client/rz_core.js') diff --git a/src/client/rz_core.js b/src/client/rz_core.js index 06053718..e56ceeba 100644 --- a/src/client/rz_core.js +++ b/src/client/rz_core.js @@ -93,10 +93,14 @@ var initDrawingArea = function () { .attr("height", '100%') .attr("pointer-events", "all"); - vis.append('defs').append('filter').attr('id', 'f_blur__creation-circle') - .attr('y', '-10%') - .attr('x', '-10%').append('feGaussianBlur').attr('in', 'SourceGraphic') - .attr('stdDeviation', '15'); + var defs = vis.append('defs'); + + defs.append('filter').attr('id', 'f_blur__creation-circle') + .attr('y', '-10%') + .attr('x', '-10%').append('feGaussianBlur').attr('in', 'SourceGraphic') + .attr('stdDeviation', '15'); + defs.append('g') + .attr('class', 'nodefilter-group'); var zoom_g = vis .append("g") -- cgit v1.3.1