Diagram isn't reflecting cursor change

I’m trying to change the cursor for the diagram based on state of my application.

I have this.diagram.currentCursor = "progress"; but I never see the cursor actually change when I mouse over the diagram.

I’ve also attempted doing this by manipulating the CSS cursor class of the containing div as well to no avail.

Am I missing something extremely simple? Using GoJS 1.7.2.

What’s happening is that by setting the Diagram.currentCursor, you are changing the cursor. But then as soon as the mouse moves, the cursor is reset based on what GraphObject is at the mouse point.

Perhaps you want to set Diagram.defaultCursor instead. That will let individual GraphObject.cursor settings take effect as the mouse moves over those objects, but lets your chosen cursor show up otherwise.

Ah ha, you’re exactly right! Thank you much!