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

Ability to modify tool's mode when component is updated. #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

burnpiro
Copy link
Contributor

Run setTool[mode] function when the list of tools provided as props has changed. Call executes on every update and updates the state of all provided tools. This allows turning tools ON/OFF without initializing the entire CornerstoneViewport component.

Resolves #117

… changed. Call executes on every update and updates the state of all provided tools. This allows to turn tools ON/OFF without initializing entire `CornerstoneViewport` component.

Resolves cornerstonejs#117
@netlify
Copy link

netlify bot commented Sep 28, 2021

✔️ Deploy Preview for react-cornerstone-viewport ready!

🔨 Explore the source changes: 9153bc9

🔍 Inspect the deploy log: https://app.netlify.com/sites/react-cornerstone-viewport/deploys/6153796193bc7e0007f313b8

😎 Browse the preview: https://deploy-preview-126--react-cornerstone-viewport.netlify.app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

state of CornerstoneViewport does not update
1 participant