This update adds the option to have two separate buttons in the "Find ligand" menu:
One button to merge the ligand into the main molecule. This is the button currently present.
A new button to copy the ligand into a new separate molecule. This button is new.
Which buttons are rendered is now controlled from the MoorhenContainer by passing two new props: allowAddNewFittedLigand and allowMergeFittedLigand. By default, the app will retain the current behavior (only show a button to merge the ligand) but this can be changed easily in the future if we wish to do so.
This update adds the option to have two separate buttons in the "Find ligand" menu:
Which buttons are rendered is now controlled from the
MoorhenContainer
by passing two new props:allowAddNewFittedLigand
andallowMergeFittedLigand
. By default, the app will retain the current behavior (only show a button to merge the ligand) but this can be changed easily in the future if we wish to do so.