diff --git a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs index 0568ef8..5f3a50f 100644 --- a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs +++ b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs @@ -756,9 +756,9 @@ namespace EveOPreview.Services { Point[] viewPoints = { new Point(baseX, baseY), new Point(baseX + width, baseY), new Point(baseX, baseY + height), new Point(baseX + width, baseY + height) }; - // TODO Extract constants - int thresholdX = Math.Max(20, width / 10); - int thresholdY = Math.Max(20, height / 10); + // Use the configured snap range + int thresholdX = this._configuration.ThumbnailSnapRange; + int thresholdY = this._configuration.ThumbnailSnapRange; foreach (var entry in this._thumbnailViews) { IThumbnailView testView = entry.Value;