mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 23:40:10 +00:00
调整UI组件相关代码
This commit is contained in:
@@ -50,5 +50,13 @@ namespace XCharts.Runtime
|
||||
else return ColorUtil.clearColor32;
|
||||
}
|
||||
}
|
||||
|
||||
public Color32 GetBackgroundColor(Background background)
|
||||
{
|
||||
if (background != null && background.show && !background.autoColor)
|
||||
return background.imageColor;
|
||||
else
|
||||
return backgroundColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user