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

Update egui to 0.26 #8

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Update egui to 0.26 #8

merged 2 commits into from
Feb 7, 2024

Conversation

xNxExOx
Copy link
Contributor

@xNxExOx xNxExOx commented Feb 7, 2024

Copy link
Owner

@zakarumych zakarumych left a comment

Choose a reason for hiding this comment

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

This change appears to be breaking on-hover popups. See comment

src/ui.rs Outdated
r.on_hover_ui_at_pointer(|ui| {
viewer.show_on_hover_popup(node, &inputs, &outputs, ui, snarl_state.scale(), self);
});
if let Some(r) = r {
Copy link
Owner

@zakarumych zakarumych Feb 7, 2024

Choose a reason for hiding this comment

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

The r: Response is returned from r.context_menu. Semantic of the returned response changed.
Previously Response::context_menu call was consuming Response and returning it unmodified.
Now it does not consume Response and returns Option<InnerResponse> associated with context menu interaction.
So it should not be used here, the old one should.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry did not notice anything that would be not working.

Copy link
Owner

@zakarumych zakarumych left a comment

Choose a reason for hiding this comment

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

Looks alright! Thank you

@zakarumych zakarumych merged commit e5033ff into zakarumych:main Feb 7, 2024
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