Skip to content

Commit 8609b13

Browse files
profannot-fl3
authored andcommitted
update doc reference for TextDimensions to fix #599
1 parent 4ad23c8 commit 8609b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/text.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub struct TextDimensions {
4343
pub height: f32,
4444
/// Height offset from the baseline of the text.
4545
/// "draw_text(.., X, Y, ..)" will be rendered in a "Rect::new(X, Y - dimensions.offset_y, dimensions.width, dimensions.height)"
46-
/// For reference check "text_dimensions" example.
46+
/// For reference check "text_measures" example.
4747
pub offset_y: f32,
4848
}
4949

0 commit comments

Comments
 (0)