capacitor-plugin-camera-forked 2.0.9 → 2.0.10

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.
@@ -115,7 +115,7 @@ public class CameraPreviewPlugin: CAPPlugin, AVCaptureVideoDataOutputSampleBuffe
115
115
  let previewHeight = screenWidth * aspectRatio // Calculate height
116
116
 
117
117
  let screenHeight = previewView.bounds.height
118
- let previewY = (screenHeight - previewHeight) * 0.4 // Center vertically
118
+ let previewY = (screenHeight - previewHeight) * 0.5 // Center vertically
119
119
 
120
120
  self.previewView.frame = CGRect(x: 0, y: previewY, width: screenWidth, height: previewHeight)
121
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-plugin-camera-forked",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "A capacitor camera plugin - A custom Capacitor camera plugin with additional features.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",