summaryrefslogtreecommitdiff
path: root/src/export
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-26 11:59:53 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-26 11:59:53 +0200
commit66d8f4569a9f13270c5f477e0730f127a22333e2 (patch)
treeebb60254e69d7f65ec2245aeae3543f6efff0cbb /src/export
parent99cb655832161d4ebec73273a15453a8f6acc1b7 (diff)
Locate me!
Diffstat (limited to 'src/export')
-rw-r--r--src/export/pdf.rs1
-rw-r--r--src/export/render.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/export/pdf.rs b/src/export/pdf.rs
index aeb5c47e..5e8896f7 100644
--- a/src/export/pdf.rs
+++ b/src/export/pdf.rs
@@ -490,6 +490,7 @@ impl<'a> PageExporter<'a> {
Element::Shape(ref shape) => self.write_shape(x, y, shape),
Element::Image(id, size) => self.write_image(x, y, id, size),
Element::Link(ref dest, size) => self.write_link(pos, dest, size),
+ Element::Pin(_) => {}
}
}
}
diff --git a/src/export/render.rs b/src/export/render.rs
index aa60e67e..163707eb 100644
--- a/src/export/render.rs
+++ b/src/export/render.rs
@@ -62,6 +62,7 @@ fn render_frame(
render_image(canvas, ts, mask, ctx.images.get(id), size);
}
Element::Link(_, _) => {}
+ Element::Pin(_) => {}
}
}
}