From d9a0f6f7f24989f239b6c4843cad3decdf91f241 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Sat, 4 Dec 2021 14:12:34 +0800 Subject: [PATCH] optimize emptyRect symbol --- Runtime/Internal/Utility/ChartDrawer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/Internal/Utility/ChartDrawer.cs b/Runtime/Internal/Utility/ChartDrawer.cs index 21b79ffe..7075ab5f 100644 --- a/Runtime/Internal/Utility/ChartDrawer.cs +++ b/Runtime/Internal/Utility/ChartDrawer.cs @@ -60,8 +60,7 @@ namespace XCharts if (gap > 0) { UGL.DrawSquare(vh, pos, symbolSize + gap, backgroundColor); - UGL.DrawSquare(vh, pos, symbolSize, color, toColor); - UGL.DrawSquare(vh, pos, symbolSize - tickness, centerFillColor, centerFillColor); + UGL.DrawBorder(vh, pos, symbolSize / 2, symbolSize / 2, tickness, color); } else {