mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
fixing undo not respecting previous order value
This commit is contained in:
parent
1a06cf3658
commit
d565d6899e
@ -52,15 +52,15 @@ mindplot.commands.DragTopicCommand = mindplot.Command.extend(
|
||||
}
|
||||
|
||||
|
||||
// Set topic position ...
|
||||
if (this._position != null)
|
||||
// Set topic order ...
|
||||
if (this._order != null)
|
||||
{
|
||||
topic.setOrder(this._order);
|
||||
} else if (this._position != null)
|
||||
{
|
||||
// Set position ...
|
||||
topic.setPosition(this._position);
|
||||
|
||||
} else if (this._order != null)
|
||||
{
|
||||
topic.setOrder(this._order);
|
||||
} else
|
||||
{
|
||||
core.assert("Illegal commnad state exception.");
|
||||
|
Loading…
Reference in New Issue
Block a user