mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-05 07:16:17 +00:00
Fix remove self edge
This commit is contained in:
@@ -101,7 +101,7 @@ BaseEdge.prototype.GetPixelLength = function ()
|
||||
{
|
||||
if (this.vertex1 == this.vertex2)
|
||||
{
|
||||
return (new CommonEdgeStyle()).sizeOfLoop * 2 * Math.PI;
|
||||
return this.model.GetLoopSize() * 2 * Math.PI;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user