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

When I click on a box and move, instead of moving, it is making a copy of the box

$
0
0

@subhash.sheladia wrote:

Hi,

I have set below properties but it does not help me.

this.myDiagram.allowCopy = false;

this.myDiagram = this.make(go.Diagram, this.element.nativeElement,
{
initialContentAlignment: go.Spot.Center, // center the content
"toolManager.mouseWheelBehavior": go.ToolManager.WheelZoom,
'undoManager.isEnabled': true, // enable undo & redo
"draggingTool.isCopyEnabled": false,
mouseOver: (e) => this.doMouseOver(e), // this event handler is defined below
click: (e) => this.doMouseOver(e) // this event handler is defined below
});

Please give your suggestion.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles