Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ishan Kumar Kaler
purr-data
Commits
aeb24d89
Commit
aeb24d89
authored
Jul 14, 2020
by
Jonathan Wilkes
Browse files
Merge branch 'zoom-viewport-fix'
parents
d0df37b9
1dfa2383
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
aeb24d89
...
...
@@ -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, 1
5
0, cid, h, v);
optimalzoom_var
[
cid
]
=
setTimeout
(
do_optimalzoom
,
10
,
cid
,
h
,
v
);
}
exports
.
gui_canvas_optimal_zoom
=
gui_canvas_optimal_zoom
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment