translate(x, y) {
    // We don't change the initial position because the move here hasn't been
    // done by the user.
    this.#translate(this.parentDimensions, x, y);
  }
Translate the editor position within its parent.
@param {number} x - x-translation in screen coordinates.
@param {number} y - y-translation in screen coordinates.