summaryrefslogtreecommitdiff
path: root/src/export
diff options
context:
space:
mode:
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(_) => {}
}
}
}