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: trigger annotation modified event on textbox moving #296

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

Conversation

m00n620
Copy link
Contributor

@m00n620 m00n620 commented Nov 14, 2022

This should close #274 , set invalidated attribute as true on textbox moving

@netlify
Copy link

netlify bot commented Nov 14, 2022

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit 8b46a41
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/637651c27f25810008861e9f
😎 Deploy Preview https://deploy-preview-296--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.

@sedghi
Copy link
Member

sedghi commented Nov 14, 2022

Looking quickly at this, we don't want annotation calculateCachedStats to be re-calculated everytime textBox moves, that is not efficient at all

@m00n620
Copy link
Contributor Author

m00n620 commented Nov 14, 2022

Looking quickly at this, we don't want annotation calculateCachedStats to be re-calculated everytime textBox moves, that is not efficient at all

Is it fine for you to do it on mouse up event?

@m00n620
Copy link
Contributor Author

m00n620 commented Nov 17, 2022

@sedghi, please take a look again. Events are being triggered on mouse up callback right now.

@sedghi
Copy link
Member

sedghi commented Nov 24, 2022

I don't understand how does movingTextBox is true when mouse up. I don't think that fixes your problem

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.

Measurement textbox update event missing
2 participants