mol_plot_all 1.2.121 → 1.2.122

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 CHANGED
@@ -3608,7 +3608,7 @@ var $;
3608
3608
  const action_type = this.event_eat(event);
3609
3609
  if (action_type === 'zoom') {
3610
3610
  const zoom_prev = this.zoom() || 0.001;
3611
- const zoom_next = zoom_prev * (1 - .1 * Math.sign(event.deltaY));
3611
+ const zoom_next = zoom_prev * (1 - .001 * event.deltaY);
3612
3612
  const mult = zoom_next / zoom_prev;
3613
3613
  this.zoom(zoom_next);
3614
3614
  const pan_prev = this.pan();