mirror of
https://github.com/LorenzCK/OnTopReplica.git
synced 2024-05-20 20:33:06 +12:00
Adapting the form to a multiple of the thumbnail's size does now respect the form position lock.
This commit is contained in:
parent
83848dc5d6
commit
9e20af4b06
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue