mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-08-29 21:40:46 +00:00
Added statistic messages.
This commit is contained in:
@@ -474,6 +474,7 @@ ConnectionGraphHandler.prototype.MouseDown = function(pos)
|
|||||||
var selectedObject = this.GetSelectedGraph(pos);
|
var selectedObject = this.GetSelectedGraph(pos);
|
||||||
if (selectedObject && (selectedObject instanceof BaseVertex))
|
if (selectedObject && (selectedObject instanceof BaseVertex))
|
||||||
{
|
{
|
||||||
|
userAction("ConnectionHandler.Mouse");
|
||||||
this.SelectVertex(selectedObject);
|
this.SelectVertex(selectedObject);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -502,6 +503,7 @@ ConnectionGraphHandler.prototype.SelectSecond = function(selectedObject)
|
|||||||
|
|
||||||
ConnectionGraphHandler.prototype.SelectFirstVertexMenu = function(vertex1Text, vertex)
|
ConnectionGraphHandler.prototype.SelectFirstVertexMenu = function(vertex1Text, vertex)
|
||||||
{
|
{
|
||||||
|
userAction("ConnectionHandler.Menu");
|
||||||
this.firstObject = null;
|
this.firstObject = null;
|
||||||
this.SelectVertex(vertex);
|
this.SelectVertex(vertex);
|
||||||
}
|
}
|
||||||
@@ -516,6 +518,7 @@ ConnectionGraphHandler.prototype.UpdateFirstVertexMenu = function(vertex1Text)
|
|||||||
|
|
||||||
ConnectionGraphHandler.prototype.SelectSecondVertexMenu = function(vertex2Text, vertex)
|
ConnectionGraphHandler.prototype.SelectSecondVertexMenu = function(vertex2Text, vertex)
|
||||||
{
|
{
|
||||||
|
userAction("ConnectionHandler.Menu");
|
||||||
this.SelectVertex(vertex);
|
this.SelectVertex(vertex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user