-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: main
Are you sure you want to change the base?
Conversation
@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", |
There was a problem hiding this comment.
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 ? |
There was a problem hiding this comment.
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.
This change removes the check of isNewHP, as that is now fairly old, and we can just default to being compatible