-
Notifications
You must be signed in to change notification settings - Fork 373
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
Tighter UI for Pinhole and when hovering images #3579
Conversation
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.
Neat!
ui.label(format!("Focal length: {fl}\nPrincipal point: {pp}")) | ||
.on_hover_ui(|ui| self.data_ui(ctx, ui, UiVerbosity::Reduced, query)); |
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.
focal length is most of the time same on X and Y. I think the ui should tighten this further in that case
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.
What
Fit it on just two lines, and show full 3x3 matrix on hover:
Checklist