Skip to content

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