Skip to content

Commit fd3f029

Browse files
Update node-graph/nodes/text/src/text_context.rs
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent 2fb8205 commit fd3f029

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node-graph/nodes/text/src/text_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl TextContext {
6161
}
6262

6363
/// Create a text layout using the specified font and typesetting configuration
64-
pub fn layout_text(&mut self, text: &str, font: &Font, font_cache: &FontCache, typesetting: TypesettingConfig) -> Option<Layout<()>> {
64+
pub(crate) fn layout_text(&mut self, text: &str, font: &Font, font_cache: &FontCache, typesetting: TypesettingConfig) -> Option<Layout<()>> {
6565
// Note that the actual_font may not be the desired font if that font is not yet loaded.
6666
// It is important not to cache the default font under the name of another font.
6767
let (font_data, actual_font) = self.resolve_font_data(font, font_cache)?;

0 commit comments

Comments
 (0)