[optimaze][background] rename hideThemeBackgroundColor to autoColor

This commit is contained in:
monitor1394
2022-06-14 07:01:46 +08:00
parent 0880b2f3f9
commit e8c46b676f
5 changed files with 20 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ namespace XCharts.Runtime
public Color32 GetBackgroundColor(Background background)
{
if (background != null && background.show && background.hideThemeBackgroundColor)
if (background != null && background.show && !background.autoColor)
return background.imageColor;
else
return backgroundColor;