mol_plot_all 1.2.120 → 1.2.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.esm.js +1 -1
- package/node.esm.js.map +1 -1
- package/node.js +1 -1
- package/node.js.map +1 -1
- package/node.test.js +1 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.esm.js +1 -1
- package/web.esm.js.map +1 -1
- package/web.js +1 -1
- package/web.js.map +1 -1
package/package.json
CHANGED
package/web.esm.js
CHANGED
|
@@ -3315,7 +3315,7 @@ var $;
|
|
|
3315
3315
|
const action_type = this.event_eat(event);
|
|
3316
3316
|
if (action_type === 'zoom') {
|
|
3317
3317
|
const zoom_prev = this.zoom() || 0.001;
|
|
3318
|
-
const zoom_next = zoom_prev * (1 - .
|
|
3318
|
+
const zoom_next = zoom_prev * (1 - .001 * event.deltaY);
|
|
3319
3319
|
const mult = zoom_next / zoom_prev;
|
|
3320
3320
|
this.zoom(zoom_next);
|
|
3321
3321
|
const pan_prev = this.pan();
|