Skip to content
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

大屏手机/ 横屏手机 相机预览宽高比错误 #120

Open
YvesCheung opened this issue Aug 31, 2021 · 0 comments
Open

大屏手机/ 横屏手机 相机预览宽高比错误 #120

YvesCheung opened this issue Aug 31, 2021 · 0 comments

Comments

@YvesCheung
Copy link

YvesCheung commented Aug 31, 2021

com.guoxiaoxing.phoenix.picker.ui.camera.CameraFragment
603行

mPreviewContainer.setAspectRatio(previewSize.getHeight() / (double) previewSize.getWidth());

如果window宽度比高度大时,应该是

mPreviewContainer.setAspectRatio(previewSize.getWidth() / (double) previewSize.getHeight());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant