Merge branch 'main' of https://git.odit.services/lfk/kiosk
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
commit
74970c4c5b
|
@ -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…
Reference in New Issue