From 9ce3910fd193628e754abf4939c3758f1e57e100 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 11 Feb 2017 20:37:33 +0000 Subject: WinGui: Fix a number of stylecop warnings. --- win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs') 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 /// /// The changed picture field. /// - enum ChangedPictureField + public enum ChangedPictureField { Width, Height, -- cgit v1.2.3