message: tweak legacy position/scale/origin compat
diff: @@ -1026,10 +1026,22 @@ class Element<Props extends ElementProps = ElementProps> {
  ) {
  Object.defineProperty(elProto, key, {
  get() {
  - const self = this;
  logDeprecatedError(key, xKey, yKey);
  if (!this[privateKey]) {
  const pos: number[] = this[privateKey] = [];
  + enhanceArray(this, pos);
  + }
  + return this[privateKey];
  + },
  + set(pos: number[]) {
  + logDeprecatedError(key, xKey, yKey);
  + this[xKey] = pos[0];
  + this[yKey] = pos[1];
  + this[privateKey] = pos;
  + enhanceArray(this, pos);
  + }
  + });
  + function enhanceArray(self: any, pos: number[]) {
  Object.defineProperty(pos, 0, {
  get() {
  return self[xKey];
  @@ -1047,15 +1059,6 @@ class Element<Props extends ElementProps = ElementProps> {
  }
  });
  }
  - return this[privateKey];
  - },
  - set(pos: number[]) {
  - logDeprecatedError(key, xKey, yKey);
  - this[xKey] = pos[0];
  - this[yKey] = pos[1];
  - }
  - });
  -
  }
  if (Object.defineProperty) {
  createLegacyProperty('position', '_legacyPos', 'x', 'y');
  