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

feat: Compatibility with new hp/toolbar buttons only #33

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

wayfarer3130
Copy link
Contributor

This change removes the check of isNewHP, as that is now fairly old, and we can just default to being compatible

@wayfarer3130 wayfarer3130 requested a review from mateusfreira May 26, 2023 15:38
@wayfarer3130
Copy link
Contributor Author

@mateusfreira - could you review this? I need this change for the beta branch of flexview.

@@ -33,7 +33,7 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@cornerstonejs/tools": "^0.63.3",
"@cornerstonejs/tools": "^1.1.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the release cornerstonejs version series.

@@ -384,7 +372,6 @@ const toolbarButtons = [
// ************ New Layout Section

// Measurement
isNewHP ?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just get rid of the old menu as the new one has been around for a while - uses the new hanging protocol service.

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.

1 participant