@dxos/solid-ui-geo 0.8.4-main.21d9917 → 0.8.4-main.2244d791bb

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.
@@ -205,9 +205,9 @@ const GlobeCanvas = (props: GlobeCanvasProps) => {
205
205
  },
206
206
  translation,
207
207
  rotation,
208
- setZoom: (s) => {
209
- if (typeof s === 'function') {
210
- const is = interpolateNumber(zoomValue, s(zoomValue));
208
+ setZoom: (state) => {
209
+ if (typeof state === 'function') {
210
+ const is = interpolateNumber(zoomValue, state(zoomValue));
211
211
  // Stop easing if already zooming.
212
212
  transition()
213
213
  .ease(zooming ? easeLinear : easeSinOut)
@@ -221,8 +221,8 @@ const GlobeCanvas = (props: GlobeCanvasProps) => {
221
221
  zooming = false;
222
222
  });
223
223
  } else {
224
- zoomValue = s;
225
- setZoom(s);
224
+ zoomValue = state;
225
+ setZoom(state);
226
226
  }
227
227
  },
228
228
  setTranslation,