summaryrefslogtreecommitdiff
path: root/src/client/rz_core.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-16 00:01:05 +0200
committerAlon Levy <alon@pobox.com>2015-04-16 00:01:05 +0200
commitc1f54590ceb39e798d79bedb2c8246ae5e395272 (patch)
tree705dc04b5ffb3f820e636a5a0ae3af4f49fdc2e6 /src/client/rz_core.js
parent03ceaee7b2b5ef8da1335d6cd51828d19e0ea325 (diff)
client: move node_text_d{x,y} from rz_core to graph_view
Diffstat (limited to 'src/client/rz_core.js')
-rw-r--r--src/client/rz_core.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js
index e56ceeba..e0ec1356 100644
--- a/src/client/rz_core.js
+++ b/src/client/rz_core.js
@@ -16,9 +16,6 @@ var addednodes = [],
edit_graph_view,
root_element_id_to_graph_view;
-// "CSS" for SVG elements. Reused for editing elements.
-var node_text_dx = 15,
- node_text_dy = '.30em';
var zoomProgress = false,
zoomBus = new Bacon.Bus(),
@@ -145,8 +142,6 @@ var initDrawingArea = function () {
parent_graph_zoom_obj: null,
zoom_property: zoom_property,
temporary: false,
- node_text_dx: node_text_dx,
- node_text_dy: node_text_dy,
svgInput: svgInput,
// FIXME: good place to animate bubble radius
bubble_property: bubble_property,
@@ -160,8 +155,6 @@ var initDrawingArea = function () {
parent_graph_zoom_obj: zoom_obj,
zoom_property: zoom_property,
temporary: true,
- node_text_dx: node_text_dx,
- node_text_dy: node_text_dy,
bubble_property: bubble_property,
});