Skip to content

fix: event handling has undefined behavior when double clicking on viewer background #2571

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

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

w1nklr
Copy link
Collaborator

@w1nklr w1nklr commented Jun 5, 2025

When double clicking on the viewer background, that is not on an existing object, the camera center goes mad. Undefined behavior can cause the camera go crazy or to do nothing.

Fix for issue #2570.

@w1nklr w1nklr requested a review from nilscb June 5, 2025 09:44
@w1nklr w1nklr merged commit e389962 into equinor:master Jun 5, 2025
10 checks passed
@w1nklr w1nklr deleted the fix_dblclick branch June 5, 2025 12:48
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