Skip to content

Commit

Permalink
Fix broken doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
PoignardAzur committed Jan 16, 2025
1 parent 6e32f57 commit d82ff4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions masonry/src/contexts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -807,10 +807,10 @@ impl_context_method!(
/// The focused widget is the one that receives keyboard events.
///
/// Returns `true` if this specific widget is focused.
/// To check if any descendants are focused use [`has_focused`].
/// To check if any descendants are focused use [`has_focus_target`].
///
/// [text focus]: crate::doc::doc_06_masonry_concepts#text-focus
/// [`has_focused`]: Self::has_focused
/// [`has_focus_target`]: Self::has_focus_target
pub fn is_focus_target(&self) -> bool {
self.global_state.focused_widget == Some(self.widget_id())
}
Expand Down

0 comments on commit d82ff4f

Please sign in to comment.