summaryrefslogtreecommitdiff
path: root/src/client/rz_core.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-02-05 12:50:55 +0200
committerAlon Levy <alon@pobox.com>2015-02-05 12:57:48 +0200
commit77f38931586bd4991154fb621ee3e0d864ee4d2d (patch)
treea5ea7cb0827a2c42947957be165bf69061d4ecef /src/client/rz_core.js
parent2735e709c40215156390193a4a73f550b5e78a15 (diff)
client/graph_view: pass in zoom objects for self (unused) and parent
Diffstat (limited to 'src/client/rz_core.js')
-rw-r--r--src/client/rz_core.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js
index 3252bc34..103b62c6 100644
--- a/src/client/rz_core.js
+++ b/src/client/rz_core.js
@@ -122,6 +122,8 @@ var initDrawingArea = function () {
parent_element: zoom_g,
graph_name: "main",
graph: main_graph,
+ zoom_obj: zoom_obj,
+ parent_graph_zoom_obj: null,
zoom_property: zoom_property,
temporary: false,
node_text_dx: node_text_dx,
@@ -134,6 +136,8 @@ var initDrawingArea = function () {
parent_element: nozoom_g,
graph_name: "edit",
graph: edit_graph,
+ zoom_obj: null,
+ parent_graph_zoom_obj: zoom_obj,
zoom_property: zoom_property,
temporary: true,
node_text_dx: node_text_dx,