Skip to content

Implement is_over for iced_lazy widget Overlays #1699

Merged
hecrj merged 1 commit into
iced-rs:masterfrom
nicksenger:overlay/is_over
Feb 14, 2023
Merged

Implement is_over for iced_lazy widget Overlays #1699
hecrj merged 1 commit into
iced-rs:masterfrom
nicksenger:overlay/is_over

Conversation

@nicksenger

Copy link
Copy Markdown
Contributor

The lazy widgets all share this pattern of storing some element which may or may not produce an overlay, but they are not delegating is_over to the stored element's overlay. This PR adds the is_over method to each of the lazy widgets' overlay implementations, forwarding the call to the contained overlay.

@hecrj hecrj added bug Something isn't working widget labels Feb 14, 2023
@hecrj hecrj added this to the 0.8.0 milestone Feb 14, 2023

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good catch! Thanks 🙇

@hecrj hecrj merged commit 2c680a3 into iced-rs:master Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working widget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants