diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-26 13:16:47 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-01-26 13:16:47 +0100 |
| commit | 883575893b3f4a4224f920e8c143a9edefca13e4 (patch) | |
| tree | 34de1fd8fb3735835fb30dc634a7cea9088521aa /Emby.Photos | |
| parent | d1a0497f55c7f41fe9f01bbed328967e381fd394 (diff) | |
Change image dimentions from double to int
Rename ImageSize -> ImageDimensions
Diffstat (limited to 'Emby.Photos')
| -rw-r--r-- | Emby.Photos/PhotoProvider.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Photos/PhotoProvider.cs b/Emby.Photos/PhotoProvider.cs index 4e483ad5b..aaebe1a21 100644 --- a/Emby.Photos/PhotoProvider.cs +++ b/Emby.Photos/PhotoProvider.cs @@ -185,8 +185,8 @@ namespace Emby.Photos if (size.Width > 0 && size.Height > 0) { - item.Width = Convert.ToInt32(size.Width); - item.Height = Convert.ToInt32(size.Height); + item.Width = size.Width; + item.Height = size.Height; } } catch (ArgumentException) |
