editor: Apply rotation to files

This commit is contained in:
Sophie Herold 2024-06-19 00:36:54 +02:00
parent 4164fa61c3
commit afcc24e235
10 changed files with 116 additions and 3 deletions

View file

@ -50,6 +50,7 @@ impl Glycin {
updater.clone().spawn_error_handled(async move {
log::trace!("Setting up loader");
let mut loader = glycin::Loader::new(file);
loader.apply_transformations(false);
#[cfg(feature = "disable-glycin-sandbox")]
loader.sandbox_mechanism(Some(glycin::SandboxMechanism::NotSandboxed));