qol: formatting
This commit is contained in:
+2
-2
@@ -24,10 +24,10 @@ namespace Disco.Services.Expressions.Extensions.ImageResultImplementations
|
||||
public override MemoryStream GetImage(out int width, out int height)
|
||||
{
|
||||
var image = Image;
|
||||
|
||||
|
||||
width = image.Width;
|
||||
height = image.Height;
|
||||
|
||||
|
||||
return OutputBitmapImage(image);
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -53,7 +53,8 @@ namespace Disco.Services.Expressions.Extensions.ImageResultImplementations
|
||||
{
|
||||
maxWidth = images.Sum(i => i.Width);
|
||||
maxHeight = images.Max(i => i.Height);
|
||||
}else if (MontageVerticalLayout)
|
||||
}
|
||||
else if (MontageVerticalLayout)
|
||||
{
|
||||
maxWidth = images.Max(i => i.Width);
|
||||
maxHeight = images.Sum(i => i.Height);
|
||||
|
||||
Reference in New Issue
Block a user