Make the 'thumbnail snap' feature optional

This commit is contained in:
Anton Kasyanov
2018-03-29 01:09:14 +03:00
parent 4e6ac1e81d
commit 47fee08fcc
3 changed files with 14 additions and 2 deletions

View File

@@ -36,6 +36,8 @@ namespace EveOPreview.Configuration.Omplementation
this.ThumbnailMinimumSize = new Size(192, 108);
this.ThumbnailMaximumSize = new Size(960, 540);
this.EnableThumbnailSnap = true;
this.ThumbnailZoomEnabled = false;
this.ThumbnailZoomFactor = 2;
this.ThumbnailZoomAnchor = ZoomAnchor.NW;
@@ -91,6 +93,8 @@ namespace EveOPreview.Configuration.Omplementation
public Size ThumbnailMaximumSize { get; set; }
public Size ThumbnailMinimumSize { get; set; }
public bool EnableThumbnailSnap { get; set; }
[JsonProperty("EnableThumbnailZoom")]
public bool ThumbnailZoomEnabled { get; set; }
public int ThumbnailZoomFactor { get; set; }