1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.MaybeZeroPadding = void 0;
|
4 | const util_1 = require("@antv/util");
|
5 | /**
|
6 | * Set padding of x and y scale to zero.
|
7 | */
|
8 | const MaybeZeroPadding = () => {
|
9 | return (I, mark) => {
|
10 | return [
|
11 | I,
|
12 | (0, util_1.deepMix)({ scale: { x: { padding: 0 }, y: { padding: 0 } } }, mark),
|
13 | ];
|
14 | };
|
15 | };
|
16 | exports.MaybeZeroPadding = MaybeZeroPadding;
|
17 | exports.MaybeZeroPadding.props = {};
|
18 | //# sourceMappingURL=maybeZeroPadding.js.map |
\ | No newline at end of file |