summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-02-11 20:37:33 +0000
committersr55 <[email protected]>2017-02-11 20:37:33 +0000
commit9ce3910fd193628e754abf4939c3758f1e57e100 (patch)
treebb7e367be99a36e85aa2c4beb1f45c243ae43c75 /win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
parenta1455ea947b0f85665228f23d2f94f66bdad2cdd (diff)
WinGui: Fix a number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index a428144c0..a28fa889b 100644
--- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@ -788,8 +788,9 @@ namespace HandBrakeWPF.ViewModels
this.Task.Height = this.GetModulusValue(this.sourceResolution.Height - this.CropTop - this.CropBottom);
this.MaintainAspectRatio = preset.Task.KeepDisplayAspect;
}
- else // Custom
+ else
{
+ // Custom
// Set the Width, and Maintain Aspect ratio. That should calc the Height for us.
this.Task.Width = this.GetModulusValue(this.MaxWidth - this.CropLeft - this.CropRight);
@@ -1063,7 +1064,7 @@ namespace HandBrakeWPF.ViewModels
/// <summary>
/// The changed picture field.
/// </summary>
- enum ChangedPictureField
+ public enum ChangedPictureField
{
Width,
Height,