mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-01 23:36:00 +00:00
Fixed bug with upper text on saving.
This commit is contained in:
parent
ce7c879b77
commit
94384a3b52
@ -482,10 +482,13 @@ Application.prototype.FindPath = function(graph1, graph2)
|
||||
|
||||
Application.prototype.SetHandlerMode = function(mode)
|
||||
{
|
||||
if (this.handler)
|
||||
var manipolationHandlers = ["default", "addGraph", "addArc", "delete", "findPath", "connectedComponent", "eulerianLoop"];
|
||||
|
||||
if (this.handler && (g_AlgorithmIds.indexOf(mode) >= 0 || manipolationHandlers.indexOf(mode) >= 0))
|
||||
{
|
||||
this.handler.RestoreAll();
|
||||
}
|
||||
|
||||
if (mode == "default")
|
||||
{
|
||||
this.handler = new DefaultHandler(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user