Adding fade in - fade out effect when adding new nodes
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user