mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-12 10:46:26 +00:00
Fix save images for bent edges. Add more statistic.
This commit is contained in:
@@ -336,11 +336,13 @@ DefaultHandler.prototype.MouseUp = function(pos)
|
||||
handler.selectedObject.model.ChangeCurvedValue(DefaultHandler.prototype.curvedValue);
|
||||
handler.needRedraw = true;
|
||||
handler.app.redrawGraph();
|
||||
userAction("Edge.Bend");
|
||||
});
|
||||
$('#message').on('click', '#decCurvel', function(){
|
||||
handler.selectedObject.model.ChangeCurvedValue(-DefaultHandler.prototype.curvedValue);
|
||||
handler.needRedraw = true;
|
||||
handler.app.redrawGraph();
|
||||
userAction("Edge.Bend");
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -469,7 +471,6 @@ ConnectionGraphHandler.prototype.MouseDown = function(pos)
|
||||
var selectedObject = this.GetSelectedGraph(pos);
|
||||
if (selectedObject && (selectedObject instanceof BaseVertex))
|
||||
{
|
||||
userAction("ConnectionHandler.Mouse");
|
||||
this.SelectVertex(selectedObject);
|
||||
}
|
||||
else
|
||||
@@ -498,7 +499,6 @@ ConnectionGraphHandler.prototype.SelectSecond = function(selectedObject)
|
||||
|
||||
ConnectionGraphHandler.prototype.SelectFirstVertexMenu = function(vertex1Text, vertex)
|
||||
{
|
||||
userAction("ConnectionHandler.Menu");
|
||||
this.firstObject = null;
|
||||
this.SelectVertex(vertex);
|
||||
}
|
||||
@@ -513,7 +513,6 @@ ConnectionGraphHandler.prototype.UpdateFirstVertexMenu = function(vertex1Text)
|
||||
|
||||
ConnectionGraphHandler.prototype.SelectSecondVertexMenu = function(vertex2Text, vertex)
|
||||
{
|
||||
userAction("ConnectionHandler.Menu");
|
||||
this.SelectVertex(vertex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user