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