public void DefloatSelection() { if (_selection != null && _selection.Floating == true) { _selection.Defloat(); CommandManager.Invalidate(CommandKey.TileSelectionFloat); CommandManager.Invalidate(CommandKey.TileSelectionDefloat); } }
public override void Undo() { _command.Undo(); TileSelection selection = _selectLayer.TileSelection; if (selection != null) { selection.Defloat(); } }