capacitor-community-multilens-camerapreview 0.0.5 → 0.0.6

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.
@@ -299,6 +299,8 @@ public class CameraActivity extends Fragment {
299
299
  } else if (newDist < mDist) {
300
300
  //zoom out
301
301
  if (zoom > 0) zoom--;
302
+ // zoom again if possible, users report that zooming out felt slower than zooming in
303
+ if (zoom > 0) zoom--;
302
304
  }
303
305
  mDist = newDist;
304
306
  params.setZoom(zoom);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-community-multilens-camerapreview",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "fork of capacitor community camera preview with support for switchting lenses",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",