made the metamaps model cooler
This commit is contained in:
parent
195889e6fe
commit
d283797deb
1 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue