fixing undo not respecting previous order value
parent
1a06cf3658
commit
d565d6899e
|
@ -52,15 +52,15 @@ mindplot.commands.DragTopicCommand = mindplot.Command.extend(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Set topic position ...
|
// Set topic order ...
|
||||||
if (this._position != null)
|
if (this._order != null)
|
||||||
|
{
|
||||||
|
topic.setOrder(this._order);
|
||||||
|
} else if (this._position != null)
|
||||||
{
|
{
|
||||||
// Set position ...
|
// Set position ...
|
||||||
topic.setPosition(this._position);
|
topic.setPosition(this._position);
|
||||||
|
|
||||||
} else if (this._order != null)
|
|
||||||
{
|
|
||||||
topic.setOrder(this._order);
|
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
core.assert("Illegal commnad state exception.");
|
core.assert("Illegal commnad state exception.");
|
||||||
|
|
Loading…
Reference in New Issue