mirror of
https://github.com/zxing/zxing.git
synced 2025-01-13 04:07:27 -08:00
Go back to 75% reticle size
git-svn-id: https://zxing.googlecode.com/svn/trunk@1944 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
dc5f292c21
commit
6a2c4e8d2f
|
@ -240,13 +240,13 @@ public final class CameraManager {
|
|||
return null;
|
||||
}
|
||||
Point screenResolution = configManager.getScreenResolution();
|
||||
int width = screenResolution.x * 3 / 5;
|
||||
int width = screenResolution.x * 3 / 4;
|
||||
if (width < MIN_FRAME_WIDTH) {
|
||||
width = MIN_FRAME_WIDTH;
|
||||
} else if (width > MAX_FRAME_WIDTH) {
|
||||
width = MAX_FRAME_WIDTH;
|
||||
}
|
||||
int height = screenResolution.y * 3 / 5;
|
||||
int height = screenResolution.y * 3 / 4;
|
||||
if (height < MIN_FRAME_HEIGHT) {
|
||||
height = MIN_FRAME_HEIGHT;
|
||||
} else if (height > MAX_FRAME_HEIGHT) {
|
||||
|
|
Loading…
Reference in a new issue