From 73d328b5d14803db4e2d0ead50fa8f64aa67d2d2 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Tue, 27 Nov 2018 16:01:44 -0800 Subject: [PATCH] Use lowercase for private member, specify accessibility --- MatterControlLib/ApplicationView/ThumbnailsConfig.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MatterControlLib/ApplicationView/ThumbnailsConfig.cs b/MatterControlLib/ApplicationView/ThumbnailsConfig.cs index 22b222bc3..9570feed3 100644 --- a/MatterControlLib/ApplicationView/ThumbnailsConfig.cs +++ b/MatterControlLib/ApplicationView/ThumbnailsConfig.cs @@ -82,7 +82,7 @@ namespace MatterHackers.MatterControl return null; } - static int[] CacheSizes = new int[] + private static int[] cacheSizes = new int[] { 18, 22, 50, 70, 100, 256 }; @@ -100,7 +100,7 @@ namespace MatterHackers.MatterControl } // if we don't find it see if it is in the cache at a bigger size - foreach(var cacheSize in CacheSizes.Where(s => s > width)) + foreach(var cacheSize in cacheSizes.Where(s => s > width)) { cachedItem = LoadImage(this.CachePath(libraryItem, cacheSize, cacheSize)); if(cachedItem != null)