Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scene_kwargs keyword to StructureMoleculeComponent #379

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Nov 14, 2023

Use case: Ability to pass in customCameraState and other CrystalToolkitScene props.

I also fixed a weird keyword name-description mismatch in the StructureMoleculeComponent doc string. Maybe a merge conflict resolution gone wrong?

@janosh janosh added enhancement usability About user-friendliness of components, docs and examples labels Nov 14, 2023
in self.scene_kwargs = {
            **({"axisView": "HIDDEN"} if is_mol else {}),
            **scene_kwargs,
        }
@janosh janosh merged commit 5b1b75b into main Nov 14, 2023
@janosh janosh deleted the struct-comp-scene-kwargs branch November 14, 2023 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement usability About user-friendliness of components, docs and examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant