adding a rotate feature for pdfs (#133)

* adding a rotate feature for pdfs that have rotated graphs and such (WIP)

* Scales to window width

* combined match arms

* added help menu text
This commit is contained in:
Ishan Deshpande
2026-02-18 21:45:56 -06:00
committed by GitHub
parent 2f957cdcbb
commit 52994b8b89
6 changed files with 50 additions and 9 deletions
+1
View File
@@ -401,6 +401,7 @@ async fn enter_redraw_loop(
},
InputAction::Search(term) => to_renderer.send(RenderNotif::Search(term))?,
InputAction::Invert => to_renderer.send(RenderNotif::Invert)?,
InputAction::Rotate => to_renderer.send(RenderNotif::Rotate)?,
InputAction::Fullscreen => fullscreen = !fullscreen,
InputAction::SwitchRenderZoom(f_or_f) => {
to_renderer.send(RenderNotif::SwitchFitOrFill(f_or_f)).unwrap();