summaryrefslogtreecommitdiff
path: root/src/sketch/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/sketch/root.zig')
-rw-r--r--src/sketch/root.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sketch/root.zig b/src/sketch/root.zig
index 8a24417..490b2f9 100644
--- a/src/sketch/root.zig
+++ b/src/sketch/root.zig
@@ -177,7 +177,7 @@ pub const Frame = struct {
/// to wrap at, alignment, spans, the glyphs revealed, a caret), drawn;
/// its `Layout` returned, as `sk.text.layout` gives it, from `x`, `y`.
pub fn paragraph(f: *Frame, x: f32, y: f32, bytes: []const u8, p: text_module.Paragraph) text_module.Layout {
- return text_module.lay(f.keep(u8, bytes), p, x, y, f);
+ return text_module.lay(f.keep(u8, bytes), p, x, y, f, &.{});
}
/// `textIn` laid out and rasterized at `raster` and drawn at `scale`,
/// its position not snapped to a pixel: for text under a moving