mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 00:20:18 +00:00
3.0
This commit is contained in:
@@ -597,7 +597,9 @@ namespace XCharts.Runtime
|
||||
|
||||
protected virtual void DrawBackground(VertexHelper vh)
|
||||
{
|
||||
if (HasChartComponent<Background>()) return;
|
||||
var background = GetChartComponent<Background>();
|
||||
if (background != null && background.show)
|
||||
return;
|
||||
Vector3 p1 = new Vector3(chartX, chartY + chartHeight);
|
||||
Vector3 p2 = new Vector3(chartX + chartWidth, chartY + chartHeight);
|
||||
Vector3 p3 = new Vector3(chartX + chartWidth, chartY);
|
||||
|
||||
Reference in New Issue
Block a user