diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-15 22:03:54 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-15 22:03:54 +0200 |
| commit | 03ceaee7b2b5ef8da1335d6cd51828d19e0ea325 (patch) | |
| tree | 697537e53c53f3817a33ef233471ef863568b3dc /src/client/rz_core.js | |
| parent | ea6e01ead9464b60492ef376702ee0ccd3a830dc (diff) | |
client: add images using existing circles
Diffstat (limited to 'src/client/rz_core.js')
| -rw-r--r-- | src/client/rz_core.js | 12 |
1 files changed, 8 insertions, 4 deletions
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") |
