Adapting the form to a multiple of the thumbnail's size does now respect the form position lock.

This commit is contained in:
Lorenz Cuno Klopfenstein 2012-11-15 19:40:04 +01:00
parent 83848dc5d6
commit 9e20af4b06

View file

@ -411,6 +411,7 @@ namespace OnTopReplica {
Size originalSize = _thumbnailPanel.ThumbnailPixelSize;
Size fittedSize = new Size((int)(originalSize.Width * p), (int)(originalSize.Height * p));
ClientSize = fittedSize;
RefreshScreenLock();
}
catch (Exception ex) {
ThumbnailError(ex, false, Strings.ErrorUnableToFit);