Files
label_printing/node_modules/jsbarcode/bin/help/fixOptions.js
Christian Anetzberger 9dc7f78cb4 Added Barcode generation
2022-03-22 18:23:52 +01:00

17 lines
425 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = fixOptions;
function fixOptions(options) {
// Fix the margins
options.marginTop = options.marginTop || options.margin;
options.marginBottom = options.marginBottom || options.margin;
options.marginRight = options.marginRight || options.margin;
options.marginLeft = options.marginLeft || options.margin;
return options;
}