dsh-synapse 0.4.4 → 0.4.5

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.
Files changed (2) hide show
  1. package/app.js +2 -1
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -1340,7 +1340,8 @@ function canvasViewport(target) {
1340
1340
  }
1341
1341
 
1342
1342
  function zoomCanvas(viewport, nextZoom, clientX, clientY) {
1343
- const zoom = Math.min(4, Math.max(.6, Math.round(nextZoom * 100) / 100))
1343
+ // 20% keeps a whole map readable as an overview; 400% is the detail ceiling.
1344
+ const zoom = Math.min(4, Math.max(.2, Math.round(nextZoom * 100) / 100))
1344
1345
  if (zoom === state.zoom) return
1345
1346
  const bounds = viewport.getBoundingClientRect()
1346
1347
  const localX = clientX - bounds.left
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-synapse",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "A visual, non-linear conversation workspace plugin for DeepSeek Harness.",
5
5
  "type": "module",
6
6
  "main": "index.js",