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

fix(windowLevel): should not double scale for window level #619

Merged
merged 1 commit into from
May 23, 2023

Conversation

sedghi
Copy link
Member

@sedghi sedghi commented May 18, 2023

Context

We were double scaling for getting the window level and center when the voiLutModule does not contain it

Changes & Results

Use the AfterScale min and max (which is the same as before scale if scaling doesn't happen)

Testing

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] "OS:
  • [] "Node version:
  • [] "Browser:

@netlify
Copy link

netlify bot commented May 18, 2023

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit 8c6f869
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/64668be1713204000878b2df
😎 Deploy Preview https://deploy-preview-619--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@@ -17,7 +17,7 @@ const prodConfig = {
path: outputPath,
libraryTarget: 'umd',
globalObject: 'this',
filename: '[name].js',
filename: '[name].min.js',
Copy link
Member Author

Choose a reason for hiding this comment

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

was removed by mistake

@sedghi sedghi requested a review from wayfarer3130 May 18, 2023 20:35
@sedghi sedghi merged commit 479eba7 into main May 23, 2023
iamiota added a commit to iamiota/cornerstone3D-beta that referenced this pull request May 26, 2023
* 'main' of github.com:iamiota/cornerstone3D-beta: (59 commits)
  chore(release): publish [skip ci]
  fix(event): Interactions between double click and multi mouse button (cornerstonejs#616)
  chore(release): publish [skip ci]
  fix(windowLevel): should not double scale for window level (cornerstonejs#619)
  chore(release): publish [skip ci]
  fix(expose): api default mouse primary (cornerstonejs#622)
  chore(release): publish [skip ci]
  docs(typo): in imageLoader.md (cornerstonejs#629)
  chore(release): publish [skip ci]
  fix(husky): husky config (cornerstonejs#627)
  chore(release): publish [skip ci]
  feat(api): cornerstone3D (cornerstonejs#626)
  chore(release): publish [skip ci]
  feat(api)!: cornerstone3D version 1.0 (cornerstonejs#625)
  chore(release): publish [skip ci]
  feat(version1)!: publish version 1.0 (cornerstonejs#624)
  chore(release): publish [skip ci]
  fix(versioning): sync all versions (cornerstonejs#623)
  chore(release): publish [skip ci]
  fix(cpu): could not render if switched to cpu in the middle (cornerstonejs#615)
  ...
@sedghi sedghi deleted the fix/double-scaling branch August 2, 2023 20:32
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.

2 participants