瀏覽代碼

Fix comment

tznind 1 年之前
父節點
當前提交
d747867663
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      UICatalog/Scenarios/Images.cs

+ 2 - 2
UICatalog/Scenarios/Images.cs

@@ -203,13 +203,13 @@ public class Images : Scenario
             int height = image.Height;
             Color [,] colors = new Color [width, height];
 
-            // Loop through each pixel and convert Rgba32 to System.Drawing.Color
+            // Loop through each pixel and convert Rgba32 to Terminal.Gui color
             for (int x = 0; x < width; x++)
             {
                 for (int y = 0; y < height; y++)
                 {
                     var pixel = image [x, y];
-                    colors [x, y] = new Color (pixel.R, pixel.G, pixel.B); // Convert Rgba32 to System.Drawing.Color
+                    colors [x, y] = new Color (pixel.R, pixel.G, pixel.B); // Convert Rgba32 to Terminal.Gui color
                 }
             }