Adding fade in - fade out effect when adding new nodes

This commit is contained in:
Pablo Luna
2011-02-09 15:29:09 +01:00
parent 0b742f2577
commit 9a41f3b288
8 changed files with 148 additions and 33 deletions

View File

@@ -36,10 +36,10 @@ mindplot.ShirinkConnector = function(topic)
{
topic.setChildrenShrinked(isShrink);
return !isShrink;
}
};
var command = new mindplot.commands.GenericFunctionCommand(commandFunc, isShrink, [topicId]);
actionRunner.execute(command)
actionRunner.execute(command);
new Event(event).stop();
@@ -94,6 +94,11 @@ mindplot.ShirinkConnector.prototype.setVisibility = function(value)
this._elipse.setVisibility(value);
}
mindplot.ShirinkConnector.prototype.setOpacity = function(opacity)
{
this._elipse.setOpacity(opacity);
}
mindplot.ShirinkConnector.prototype.setFill = function(color)
{
this._fillColor = color;