diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-16 17:36:04 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-17 11:30:58 +0100 |
| commit | e8435df5ec718e8ecc8a2ad48e4eb3ddd1f92a72 (patch) | |
| tree | 58d8356ec1c615f898e342a479b5f967a8177468 /src/export/pdf | |
| parent | ecb5543985cc0788d9c01e8c2e28d8ca6d8e19b6 (diff) | |
More jump targets
Diffstat (limited to 'src/export/pdf')
| -rw-r--r-- | src/export/pdf/page.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/export/pdf/page.rs b/src/export/pdf/page.rs index 7f8c20ef..df7b517f 100644 --- a/src/export/pdf/page.rs +++ b/src/export/pdf/page.rs @@ -293,8 +293,8 @@ fn write_frame(ctx: &mut PageContext, frame: &Frame) { match element { Element::Group(group) => write_group(ctx, pos, group), Element::Text(text) => write_text(ctx, x, y, text), - Element::Shape(shape) => write_shape(ctx, x, y, shape), - Element::Image(image, size) => write_image(ctx, x, y, image, *size), + Element::Shape(shape, _) => write_shape(ctx, x, y, shape), + Element::Image(image, size, _) => write_image(ctx, x, y, image, *size), Element::Meta(meta, size) => match meta { Meta::Link(link) => write_link(ctx, pos, link, *size), Meta::Node(_) => {} |
