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(crosshairs): Reference lines are wrongly clipped #552

Merged
merged 1 commit into from Apr 14, 2023

Conversation

rogerbramon
Copy link
Contributor

Currently, the reference lines of the Crosshairs Tool may be wrongly clipped when the other viewports have a smaller size.
This PR aims to fix this issue by using the canvasBox of the current viewport instead of the other viewport for clipping lines.

wrong-clipping

@netlify
Copy link

netlify bot commented Apr 13, 2023

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit e421764
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/64381471e31f410008a7bffc
😎 Deploy Preview https://deploy-preview-552--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.

Copy link
Member

@sedghi sedghi left a comment

Choose a reason for hiding this comment

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

Looks great. This is a great contribution, thanks a lot!

@sedghi sedghi merged commit 0bc2134 into cornerstonejs:main Apr 14, 2023
10 checks passed
@rogerbramon rogerbramon deleted the fix-crosshairs-ref-lines branch April 14, 2023 08:01
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.

None yet

2 participants