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.test.js CHANGED
@@ -3600,7 +3600,7 @@ var $;
3600
3600
  const action_type = this.event_eat(event);
3601
3601
  if (action_type === 'zoom') {
3602
3602
  const zoom_prev = this.zoom() || 0.001;
3603
- const zoom_next = zoom_prev * (1 - .1 * Math.sign(event.deltaY));
3603
+ const zoom_next = zoom_prev * (1 - .001 * event.deltaY);
3604
3604
  const mult = zoom_next / zoom_prev;
3605
3605
  this.zoom(zoom_next);
3606
3606
  const pan_prev = this.pan();