Skip to content

Commit

Permalink
Fix sentence fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Dec 13, 2024
1 parent fb27ac7 commit 38d7bbe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions masonry/src/contexts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,11 @@ impl_context_method!(
PaintCtx<'_>,
UpdateCtx<'_>,
{
/// Get the contexts needed to build and paint text sections.
/// Get the Parley contexts needed to build and paint text sections.
///
/// Note that in many cases, these contexts are.
/// Note that most users should embed the [`Label`](crate::widget::Label) widget as a child
/// for non-interactive text.
/// These contexts could however be useful for custom text editing, such as for rich text editing.
pub fn text_contexts(&mut self) -> (&mut FontContext, &mut LayoutContext<BrushIndex>) {
(
&mut self.global_state.font_context,
Expand Down

0 comments on commit 38d7bbe

Please sign in to comment.