I’ve been working on upgrading our code to use the latest GoJS version. We are utilizing the Robot class for testing and it looks like it’s intention is to set “viewPoint” property of InputEvents directly; however, in version 3.0.23, that property is marked as “Readonly”. When looking at the property’s code comments though, the comments indicate that it should be settable. Has this intentionally changed in the latest version?
/**
* Gets or sets the point at which this input event occurred.
* The Point is in view coordinates within the viewport, not in document coordinates.
* This should be valid for mouse events.
* For keyboard events, this is the last available mouse point.
* @see {@link documentPoint}
* @see {@link Diagram.transformViewToDoc}
* @see {@link Diagram.transformDocToView}
*/
get viewPoint(): Point;
set viewPoint(value: Point);