Skip to content

Commit

Permalink
Fine tune zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
cavearr committed Feb 3, 2025
1 parent 6d3664e commit 0c2b822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/scripts/services/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ document.addEventListener("mousemove", (event) => {
};

//-- ZOOM constants
const ZOOM_MAX = 2.1;
const ZOOM_MIN = 0.3;
const ZOOM_SENS = 0.3;
const ZOOM_MAX = 4;
const ZOOM_MIN = 0.1;
const ZOOM_SENS = 0.5;
const ZOOM_INI = 1.0; //-- Initial zoom

//-----------------------------------------------------------------------
Expand Down

0 comments on commit 0c2b822

Please sign in to comment.