mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Fixed bug when using area as box size without web-workers
This commit is contained in:
+5
-1
@@ -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])]];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user