Skip to content

Commit eb14594

Browse files
committed
Deploying to gh-pages from @ 2cbbcc1 🚀
1 parent 1d82934 commit eb14594

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

web.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30206,9 +30206,9 @@ var $;
3020630206
const action_type = this.event_eat(event);
3020730207
if (action_type === 'zoom') {
3020830208
const zoom_prev = this.zoom() || 0.001;
30209-
const zoom_next = zoom_prev * (1 - .001 * Math.min(event.deltaY, 100));
30209+
let zoom_next = zoom_prev * (1 - .001 * Math.min(event.deltaY, 100));
30210+
zoom_next = this.zoom(zoom_next);
3021030211
const mult = zoom_next / zoom_prev;
30211-
this.zoom(zoom_next);
3021230212
const pan_prev = this.pan();
3021330213
const center = this.pointer_center();
3021430214
const pan_next = pan_prev.multed0(mult).added1(center.multed0(1 - mult));

web.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30206,9 +30206,9 @@ var $;
3020630206
const action_type = this.event_eat(event);
3020730207
if (action_type === 'zoom') {
3020830208
const zoom_prev = this.zoom() || 0.001;
30209-
const zoom_next = zoom_prev * (1 - .001 * Math.min(event.deltaY, 100));
30209+
let zoom_next = zoom_prev * (1 - .001 * Math.min(event.deltaY, 100));
30210+
zoom_next = this.zoom(zoom_next);
3021030211
const mult = zoom_next / zoom_prev;
30211-
this.zoom(zoom_next);
3021230212
const pan_prev = this.pan();
3021330213
const center = this.pointer_center();
3021430214
const pan_next = pan_prev.multed0(mult).added1(center.multed0(1 - mult));

0 commit comments

Comments
 (0)