1 | import { __decorate } from "tslib";
|
2 | import { singleton } from 'mana-syringe';
|
3 | import { parsePoints } from '../parser';
|
4 |
|
5 | var CSSPropertyPoints =
|
6 |
|
7 | function () {
|
8 | function CSSPropertyPoints() {
|
9 | this.parser = parsePoints;
|
10 | }
|
11 | |
12 |
|
13 |
|
14 |
|
15 |
|
16 | CSSPropertyPoints.prototype.postProcessor = function (object) {
|
17 | var _a = object.parsedStyle,
|
18 | defX = _a.defX,
|
19 | defY = _a.defY;
|
20 | object.setLocalPosition(defX, defY);
|
21 | };
|
22 |
|
23 | CSSPropertyPoints = __decorate([singleton()], CSSPropertyPoints);
|
24 | return CSSPropertyPoints;
|
25 | }();
|
26 |
|
27 | export { CSSPropertyPoints }; |
\ | No newline at end of file |