Explorar o código

fixed unnecessary public getter definition for templatePicture and leftImage

Vincenz Mechler %!s(int64=6) %!d(string=hai) anos
pai
achega
3bbc33bbf4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      SketchAssistant/SketchAssistant/Form1.cs

+ 2 - 2
SketchAssistant/SketchAssistant/Form1.cs

@@ -45,11 +45,11 @@ namespace SketchAssistant
         /// <summary>
         /// Image loaded on the left
         /// </summary>
-        public Image leftImage { get; private set; } = null;
+        private Image leftImage = null;
         /// <summary>
         /// the graphic shown in the left window, represented as a list of polylines
         /// </summary>
-        public List<Line> templatePicture { get; private set; }
+        private List<Line> templatePicture;
         //Image on the right
         Image rightImage = null;
         //Current Line being Drawn