Moved barcode height to main config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0bd83f8000
commit
3d110e8f48
@ -42,11 +42,9 @@
|
||||
scale: 10,
|
||||
includetext: true,
|
||||
textxalign: 'center',
|
||||
backgroundcolor: 'ffffff'
|
||||
backgroundcolor: 'ffffff',
|
||||
height: 10
|
||||
};
|
||||
if (bcid == 'code128') {
|
||||
codeconfig.height = 10;
|
||||
}
|
||||
bwipjs.toCanvas(canvas, codeconfig);
|
||||
return canvas.toDataURL('image/png');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user