Fix changes to moveSelection API.

This commit is contained in:
Daniel Buckmaster 2015-01-28 21:25:15 +11:00
parent 68d3e84c08
commit 0605f056e3

View file

@ -2575,9 +2575,9 @@ DefineConsoleMethod( GuiEditCtrl, deleteSelection, void, (), , "() - Delete the
//-----------------------------------------------------------------------------
DefineConsoleMethod( GuiEditCtrl, moveSelection, void, (Point2I pos), , "Move all controls in the selection by (dx,dy) pixels.")
DefineConsoleMethod( GuiEditCtrl, moveSelection, void, (S32 dx, S32 dy), , "Move all controls in the selection by (dx,dy) pixels.")
{
object->moveAndSnapSelection(Point2I(pos));
object->moveAndSnapSelection(Point2I(dx, dy));
}
//-----------------------------------------------------------------------------