Commit aeb24d89 authored by Jonathan Wilkes's avatar Jonathan Wilkes

Merge branch 'zoom-viewport-fix'

parents d0df37b9 1dfa2383
Pipeline #2235 passed with stage
in 317 minutes and 19 seconds
......@@ -6186,7 +6186,7 @@ var optimalzoom_var = {};
// 100 msec are enough for do_optimalzoom to finish.
function gui_canvas_optimal_zoom(cid, h, v) {
clearTimeout(optimalzoom_var[cid]);
optimalzoom_var[cid] = setTimeout(do_optimalzoom, 150, cid, h, v);
optimalzoom_var[cid] = setTimeout(do_optimalzoom, 10, cid, h, v);
}
exports.gui_canvas_optimal_zoom = gui_canvas_optimal_zoom;
......
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