diff options
author | sr55 <[email protected]> | 2017-12-15 23:05:51 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-12-15 23:05:51 +0000 |
commit | a8693f897be0707e32085189a34e97d2b503167a (patch) | |
tree | f4c251529a11ce34e0f7e3bfa3c60eb9f35d8f6d /win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs | |
parent | e6df19589df6e6e39d4afbaba958d4e1334db4cf (diff) |
WinGui: Fix a bug in preview scaling.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs index 4a2d3e2b2..d801dd256 100644 --- a/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs @@ -500,7 +500,7 @@ namespace HandBrakeWPF.ViewModels return (int)Math.Round(workArea.Width, 0) - 50;
}
- return 100;
+ return width;
}
public int FixHeight(int height)
@@ -511,7 +511,7 @@ namespace HandBrakeWPF.ViewModels return (int)Math.Round(workArea.Height, 0) - 50;
}
- return 100;
+ return height;
}
#endregion
|