made the metamaps model cooler

This commit is contained in:
Devin Howard 2013-02-22 18:08:03 -05:00
parent 195889e6fe
commit d283797deb

View file

@ -6,12 +6,24 @@
*/
var MetamapsModel = new Object();
MetamapsModel.embed = false;
//array of all selected edges
MetamapsModel.selectedEdges = new Array();
//is any showcard open right now? which one?
MetamapsModel.showcardInUse = null;
//is the mouse hovering over an edge? which one?
MetamapsModel.edgeHoveringOver = false;
//double clicking of nodes or canvas
MetamapsModel.lastNodeClick = 0;
MetamapsModel.lastCanvasClick = 0;
MetamapsModel.DOUBLE_CLICK_TOLERANCE = 300;
MetamapsModel.edgeHoveringOver = false;
//pop-up permission editors timers
MetamapsModel.edgePermTimer1 = null;
MetamapsModel.edgePermTimer2 = null;
MetamapsModel.edgePermSliding = false;