- Fix problem selecting central node.

This commit is contained in:
Paulo Veiga
2011-08-15 09:27:31 -03:00
parent 4e0becef47
commit 78f312ef0a
4 changed files with 23 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ mindplot.NodeGraph = new Class({
},
get2DElement : function() {
$assert(this._elem2d, 'NodeGraph has not been initialized propertly');
$assert(this._elem2d, 'NodeGraph has not been initialized properly');
return this._elem2d;
},
@@ -54,10 +54,6 @@ mindplot.NodeGraph = new Class({
elem.addEventListener(type, listener);
},
isNodeGraph : function() {
return true;
},
setMouseEventsEnabled : function(isEnabled) {
this._mouseEvents = isEnabled;
},