diff --git a/crates/rnote-engine/src/engine/import.rs b/crates/rnote-engine/src/engine/import.rs index 7ba5359f31..eb2a757516 100644 --- a/crates/rnote-engine/src/engine/import.rs +++ b/crates/rnote-engine/src/engine/import.rs @@ -310,8 +310,6 @@ impl Engine { /// Generate image strokes for each page for the bytes. /// /// The bytes are expected to be from a valid Pdf. - /// - /// Note: `insert_pos` does not have an effect when the `adjust_document` import pref is set true. #[allow(clippy::type_complexity)] pub fn generate_pdf_pages_from_bytes( &self, @@ -323,11 +321,6 @@ impl Engine { oneshot::channel::)>>>(); let pdf_import_prefs = self.import_prefs.pdf_import_prefs; let format = self.document.format; - let insert_pos = if self.import_prefs.pdf_import_prefs.adjust_document { - na::Vector2::::zeros() - } else { - insert_pos - }; rayon::spawn(move || { let result = || -> anyhow::Result)>> {