Fixed bug when using area as box size without web-workers

pull/62/head
Christoph Oberhofer 10 years ago
parent 4f224b782a
commit 8ad97419c3

6
dist/quagga.js vendored

@ -8564,7 +8564,11 @@ function(Code128Reader,
if (_config.locate) {
return BarcodeLocator.locate();
} else {
return [_boxSize];
return [[
vec2.create(_boxSize[0]),
vec2.create(_boxSize[1]),
vec2.create(_boxSize[2]),
vec2.create(_boxSize[3])]];
}
}

File diff suppressed because one or more lines are too long

@ -190,7 +190,11 @@ function(Code128Reader,
if (_config.locate) {
return BarcodeLocator.locate();
} else {
return [_boxSize];
return [[
vec2.create(_boxSize[0]),
vec2.create(_boxSize[1]),
vec2.create(_boxSize[2]),
vec2.create(_boxSize[3])]];
}
}

Loading…
Cancel
Save