0

The default way to select a group of objects interactively in fabricjs is to drag, which displays a blue selection rectangle and then, when the mouse is released, selects all the objects in the rectangle.

Because I am using the drag action to pan the background canvas, I want to change the way to select to use only Control + drag, i.e. hold down the control key while dragging. In all other respects, the behaviour should be the same as the default. Is this possible? How?

The reason for wanting to use Control + drag is that it then matches what the user needs to do in another part of the app I'm building.

Nigel
  • 585
  • 1
  • 5
  • 20

0 Answers0