mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2026-04-29 00:02:13 +08:00
CB-10539: Commenting out the verySmallQvga maxResolution option
This commit is contained in:
@@ -713,8 +713,9 @@ function takePictureFromCameraWindows(successCallback, errorCallback, args) {
|
|||||||
if (targetWidth == -1 && targetHeight == -1) {
|
if (targetWidth == -1 && targetHeight == -1) {
|
||||||
maxRes = UIMaxRes.highestAvailable;
|
maxRes = UIMaxRes.highestAvailable;
|
||||||
}
|
}
|
||||||
else if (totalPixels <= 320 * 240) {
|
// Temp fix for CB-10539
|
||||||
maxRes = UIMaxRes.verySmallQvga;
|
/*else if (totalPixels <= 320 * 240) {
|
||||||
|
maxRes = UIMaxRes.verySmallQvga;*/
|
||||||
} else if (totalPixels <= 640 * 480) {
|
} else if (totalPixels <= 640 * 480) {
|
||||||
maxRes = UIMaxRes.smallVga;
|
maxRes = UIMaxRes.smallVga;
|
||||||
} else if (totalPixels <= 1024 * 768) {
|
} else if (totalPixels <= 1024 * 768) {
|
||||||
|
|||||||
Reference in New Issue
Block a user