const babel = require('rollup-plugin-babel');
const cleanup = require('rollup-plugin-cleanup');
-const polyfill = require('rollup-plugin-polyfill')
+const polyfill = require('rollup-plugin-polyfill');
const json = require('@rollup/plugin-json');
const resolve = require('@rollup/plugin-node-resolve');
const terser = require('rollup-plugin-terser').terser;
}
getCenterPoint(useFinalPosition) {
- const {x, y, base, horizontal} = this.getProps(['x', 'y', 'base', 'horizontal', useFinalPosition]);
+ const {x, y, base, horizontal} = this.getProps(['x', 'y', 'base', 'horizontal'], useFinalPosition);
return {
x: horizontal ? (x + base) / 2 : x,
y: horizontal ? y : (y + base) / 2
easing: 'easeOutQuart',
numbers: {
type: 'number',
- properties: ['x', 'y', 'width', 'height'],
+ properties: ['x', 'y', 'width', 'height', 'caretX', 'caretY'],
},
opacity: {
easing: 'linear',