summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2020-04-18 22:02:04 +0100
committersr55 <[email protected]>2020-04-18 22:02:04 +0100
commit56f64e0f510e4df8e95167da31a0a3f55fe737cc (patch)
tree4dd84fc3e8eaf3c4384db0331716ddd7392e901f /win/CS
parentfee51eb7283acda9e27af02da6af6743ffeaeac8 (diff)
WinGui: Fix a bug in the preview window where the flip was operating on the wrong axis. Fixes #2764
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/Utilities/BitmapHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Utilities/BitmapHelpers.cs b/win/CS/HandBrakeWPF/Utilities/BitmapHelpers.cs
index f9856d2aa..4a9810c5e 100644
--- a/win/CS/HandBrakeWPF/Utilities/BitmapHelpers.cs
+++ b/win/CS/HandBrakeWPF/Utilities/BitmapHelpers.cs
@@ -26,7 +26,7 @@ namespace HandBrakeWPF.Utilities
transformedBitmap.Source = source;
var transformGroup = new TransformGroup();
- transformGroup.Children.Add(new ScaleTransform(1, flip ? -1 : 1));
+ transformGroup.Children.Add(new ScaleTransform(flip ? -1 : 1, 1));
transformGroup.Children.Add(new RotateTransform(rotation));
transformedBitmap.Transform = transformGroup;