Commit c8630d18 authored by Ivan Novikov's avatar Ivan Novikov

Add passing offsets over plotpan event

Unified this behavior with plotzoom event as in pull #34 flot/flot@1b6c4e933ade3f03d634dfaa6357e82beda3bc55
parent 3c0bcefc
......@@ -319,7 +319,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
plot.draw();
if (!args.preventEvent)
plot.getPlaceholder().trigger("plotpan", [ plot ]);
plot.getPlaceholder().trigger("plotpan", [ plot, args ]);
};
function shutdown(plot, eventHolder) {
......
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