Modified not to draw unnecessary rectangles 57/320257/1
authorInhong Han <inhong1.han@samsung.com>
Wed, 26 Feb 2025 01:50:17 +0000 (10:50 +0900)
committerInhong Han <inhong1.han@samsung.com>
Wed, 26 Feb 2025 01:52:02 +0000 (10:52 +0900)
Change-Id: I741fd514a33cc1140fc598cb9f5f854a627a65e2

ISEDefaultNUI/SCLNUI.cs

index f89794bd795b91e097559cef475d136f10bc9ea1..778851909d997099447c6d77b972ac4c62ebfbc2 100644 (file)
@@ -236,6 +236,9 @@ namespace ISEDefaultNUI
                 Log.Info("NUIIME", "rectangle: x=" + pos_x + ", y=" + pos_y + ", w=" + width + ", h=" + height);
                 Log.Info("NUIIME", "fill: " + fill + ", r=" + fill_color_r + ", g=" + fill_color_g + ", b=" + fill_color_b + ", a=" + fill_color_a);
 
+                if (width <= 1 && height <= 1)
+                    return;
+
                 WindowAttribute.WindowType windowType = (WindowAttribute.WindowType)type;
                 switch (windowType)
                 {