Jump to content

Disable rectangular selection in JSViz


Ricardo Avila 2

Recommended Posts

  • 4 weeks later...

The marking is not a core function of JSViz. It is something that is implemented as a helper. Certain situations require a different approach, such as Lassoo marking, or to disable it altogether.

To disable it, simply edit the JSViz.js file and remove the section that implements the mousedown, mousemove and mouseup handlers. This is all contained in the initMarking() function, so simply remove the call to initMarking() (line 293 in the current version) will do the trick.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...