public override void Execute(object parameter) { Debug.Assert(EditViewModel.SelectedItems[0] is Molecule); var selMolecule = EditViewModel.SelectedItems[0] as Molecule; EditViewModel.FlipMolecule(selMolecule, false, false); }
public override void Execute(object parameter) { var selMolecule = EditViewModel.SelectedItems[0] as Molecule; bool flipStereo = KeyboardUtils.HoldingDownShift(); EditViewModel.FlipMolecule(selMolecule, false, flipStereo); }
public override void Execute(object parameter) { var selMolecule = EditViewModel.SelectedItems[0] as Molecule; EditViewModel.FlipMolecule(selMolecule, true, false); }