message: fix(modifiers/Modification): set result on creation
diff: @@ -29,7 +29,9 @@ export default class Modification {
  endResult?: Interact.Point = null
  edges: Interact.EdgeOptions
  - constructor (readonly interaction: Readonly<Interact.Interaction>) {}
  + constructor (readonly interaction: Readonly<Interact.Interaction>) {
  + this.result = createResult()
  + }
  start (
  { phase }: MethodArg,
  @@ -123,7 +125,9 @@ export default class Modification {
  const prevCoords = this.result.coords
  const prevRect = this.result.rect
  - const rectChanged = !prevRect || newResult.rect.left !== prevRect.left ||
  +
  + if (prevCoords && prevRect) {
  + const rectChanged = newResult.rect.left !== prevRect.left ||
  newResult.rect.right !== prevRect.right ||
  newResult.rect.top !== prevRect.top ||
  newResult.rect.bottom !== prevRect.bottom
  @@ -131,8 +135,8 @@ export default class Modification {
  newResult.changed = rectChanged ||
  prevCoords.x !== newResult.coords.x ||
  prevCoords.y !== newResult.coords.y
  + }
  - newResult.rect = arg.rect
  return newResult
  }
  