|
|
@ -358,7 +358,7 @@ public class UiGeometry { |
|
|
|
public UiGeometry(Vector2i windowSize) { |
|
|
|
WindowSize = windowSize; |
|
|
|
|
|
|
|
int numThumbnails = 20; |
|
|
|
int numThumbnails = 13; |
|
|
|
int thumbnailHeight = WindowSize.Y / numThumbnails; |
|
|
|
int thumbnailWidth = (int) 1.0 * thumbnailHeight * activeCamera.Resolution.X / activeCamera.Resolution.Y; |
|
|
|
for (int i = 0; i < numThumbnails; i++) { |
|
|
@ -389,6 +389,9 @@ public static class Util { |
|
|
|
if (orientation <= 1) { |
|
|
|
return; |
|
|
|
} |
|
|
|
// FIXME: I'm not convinced that all of these are correct, especially the
|
|
|
|
// cases that involve flipping (because whether you're flipping before or
|
|
|
|
// after rotation matters.).
|
|
|
|
var operations = new Dictionary<ushort, (RotateMode, FlipMode)> { |
|
|
|
{ 2, (RotateMode.None, FlipMode.Horizontal) }, |
|
|
|
{ 3, (RotateMode.Rotate180, FlipMode.None) }, |
|
|
|