From 84337f8e5f597a3671f65688dfeb3c912fb0379d Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 9 Jun 2023 22:09:39 +0100 Subject: [PATCH] mason/.perl-lib/TrivGal.pm: Flip the image correctly when asked. --- mason/.perl-lib/TrivGal.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mason/.perl-lib/TrivGal.pm b/mason/.perl-lib/TrivGal.pm index b9231b0..8d776c2 100644 --- a/mason/.perl-lib/TrivGal.pm +++ b/mason/.perl-lib/TrivGal.pm @@ -237,7 +237,7 @@ package TrivGal::Image { if (defined $orient) { my ($rot, $flip) = @{$ORIENT{$orient}}; if ($rot) { $img->image_orientate($rot); } - if ($flip) { $img->flip_horizontal($rot); } + if ($flip) { $img->flip_horizontal($flip); } } } -- 2.11.0