Skip to content

Commit 83ccc3c

Browse files
chore: fix
1 parent 49475f1 commit 83ccc3c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

node-graph/libraries/rendering/src/renderer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,7 @@ impl Render for List<String> {
22522252

22532253
let mut builder = layout_ctx.ranged_builder(font_ctx, text, 1.0, false);
22542254
builder.push_default(StyleProperty::FontSize(font_size as f32));
2255-
builder.push_default(StyleProperty::FontStack(parley::style::FontStack::Single(parley::style::FontFamily::Named(Cow::Borrowed(font_family.as_str())))));
2255+
builder.push_default(StyleProperty::FontStack(parley::FontStack::Single(parley::FontFamily::Named(Cow::Borrowed(font_family.as_str())))));
22562256
builder.push_default(StyleProperty::LetterSpacing(char_spacing as f32));
22572257
builder.push_default(LineHeight::FontSizeRelative(line_height as f32));
22582258

@@ -2428,7 +2428,7 @@ impl Render for List<String> {
24282428

24292429
let mut builder = layout_ctx.ranged_builder(font_ctx, text, 1.0, false);
24302430
builder.push_default(StyleProperty::FontSize(font_size as f32));
2431-
builder.push_default(StyleProperty::FontStack(parley::style::FontStack::Single(parley::style::FontFamily::Named(Cow::Borrowed(font_family.as_str())))));
2431+
builder.push_default(StyleProperty::FontStack(parley::FontStack::Single(parley::FontFamily::Named(Cow::Borrowed(font_family.as_str())))));
24322432
builder.push_default(StyleProperty::LetterSpacing(char_spacing as f32));
24332433
builder.push_default(LineHeight::FontSizeRelative(line_height as f32));
24342434

@@ -2576,7 +2576,7 @@ impl Render for List<String> {
25762576
ensure_fonts_registered(font_ctx);
25772577
let mut builder = layout_ctx.ranged_builder(font_ctx, text, 1.0, false);
25782578
builder.push_default(StyleProperty::FontSize(font_size as f32));
2579-
builder.push_default(StyleProperty::FontStack(parley::style::FontStack::Single(parley::style::FontFamily::Named(Cow::Borrowed(font_family.as_str())))));
2579+
builder.push_default(StyleProperty::FontStack(parley::FontStack::Single(parley::FontFamily::Named(Cow::Borrowed(font_family.as_str())))));
25802580
builder.push_default(StyleProperty::LetterSpacing(char_spacing as f32));
25812581
builder.push_default(LineHeight::FontSizeRelative(line_height as f32));
25822582
let mut layout = builder.build(text);

0 commit comments

Comments
 (0)