UNPKG

529 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.MaybeZeroPadding = void 0;
4const util_1 = require("@antv/util");
5/**
6 * Set padding of x and y scale to zero.
7 */
8const 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};
16exports.MaybeZeroPadding = MaybeZeroPadding;
17exports.MaybeZeroPadding.props = {};
18//# sourceMappingURL=maybeZeroPadding.js.map
\No newline at end of file