Fixed shrt path algorithm name for graphs with negative edges. Fix loader.

This commit is contained in:
Oleg Sh
2024-08-03 21:03:42 +02:00
parent d628dcd74d
commit c9201526a9
25 changed files with 117 additions and 4369 deletions

View File

@@ -533,7 +533,7 @@ Editor.prototype.initAlgorithmList = function()
if (!event.originalEvent.closeThisMenu) {
event.stopPropagation();
}
});
});
$(window).on('click', function() {
$('#algorithmList').slideUp();
});
@@ -644,6 +644,10 @@ Editor.prototype.createAlgorithmMenu = function()
else
{
$(data.object).show();
// Update button text
var textSpan = data.object.getElementsByTagName("span")[1];
textSpan.innerHTML = algorithm.getName();
}
});