Commit 1b6c4e93 authored by Alexander O. Anisimov's avatar Alexander O. Anisimov

Add passing amount and center over plotzoom event

parent 1a99246c
...@@ -262,7 +262,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L ...@@ -262,7 +262,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
plot.draw(); plot.draw();
if (!args.preventEvent) if (!args.preventEvent)
plot.getPlaceholder().trigger("plotzoom", [ plot ]); plot.getPlaceholder().trigger("plotzoom", [ plot, args ]);
} }
plot.pan = function (args) { plot.pan = function (args) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment