Skip to content

Commit c972f32

Browse files
Update fonts.md
1 parent 36e0224 commit c972f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/nova/addon/fonts/fonts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ generate vertically moved variations of a font. To do that, request those variat
9393
process using [MovedFontContent](../resourcepack/build-logic.md#movedfontcontent).
9494

9595
```kotlin
96-
builder.getHolder<MovedFontContent>().requestMovedFonts(ResourcePath("namespace", "name"), 0..19)
96+
builder.getBuildData<MovedFontContent>().requestMovedFonts(ResourcePath("namespace", "name"), 0..19)
9797
```
9898

9999
During runtime, you can then create a vertically moved component using `#!kotlin MovedFonts.moveVertically(component, distance)`.

0 commit comments

Comments
 (0)