Skip to content

Commit

Permalink
Add a comment on suspect is_active
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Nov 21, 2023
1 parent e89628b commit 0085ae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widget/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ impl Pod {
/// is dragged away.
///
/// [`set_active`]: EventCx::set_active
// TODO: Determine why this is the same as [Self::has_active]
pub fn is_active(&self) -> bool {
self.state.flags.contains(PodFlags::HAS_ACTIVE)
}
Expand Down

0 comments on commit 0085ae5

Please sign in to comment.