-
-
Notifications
You must be signed in to change notification settings - Fork 21
fix: single x/y parameter assignment ignored #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
If only x or y is set while the other is null, the set value was ignored and it was auto centered upon start. Fixed to match iOS ~line 1959 Plugin.swift
📝 WalkthroughWalkthroughThe camera preview centering logic is updated to conditionally auto-center based on configuration values. When x or y coordinates are not explicitly set (value -1), they are auto-centered; otherwise, explicitly provided coordinates are preserved. No public API changes. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai generate docstrings |
✅ Actions performedInitiated docstring generation; will generate only if new commits exist. |
|
Note Docstrings generation - SUCCESS |
Docstrings generation was requested by @buhleryesco. * #273 (comment) The following files were modified: * `android/src/main/java/app/capgo/capacitor/camera/preview/CameraXView.java`
If only x or y is set while the other is null, the set value was ignored and it was auto centered upon start.
Fixed to match iOS ~line 1959 Plugin.swift
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.