menus: Add rotate left and right buttons
This commit is contained in:
parent
57f573f98a
commit
c2e3bb2f83
5 changed files with 153 additions and 85 deletions
|
|
@ -385,9 +385,9 @@ impl LpImageView {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn rotate_image(&self) {
|
||||
pub fn rotate_image(&self, angle: f64) {
|
||||
if let Some(current_page) = self.current_page() {
|
||||
current_page.image().rotate();
|
||||
current_page.image().rotate(angle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue