Skip to content

Commit

Permalink
Merge branch 'zoom-viewport-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wilkes committed Jul 15, 2020
2 parents d0df37b + 1dfa238 commit aeb24d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pd/nw/pdgui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aeb24d8

Please sign in to comment.