Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Link.points being changed on selection

$
0
0

@nmfa wrote:

We have our model set up so that there's a two way binding between a variable in the models and the points on the Link class, set via the template. This largely works, however, on investigating an issue with when our app allows saving, just the act of clicking on, and hence selecting, a link is causing the points variable to be updated with the newValue being identical to the oldValue. Why does selection of a link cause this to happen, especially given nothing really changes? The problem is that this is causing Diagram.isModified to flip true and hence enabling saving when there's no actual change to the diagram.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles