完善UIComponent

This commit is contained in:
monitor1394
2023-11-01 08:53:18 +08:00
parent 573f9efcaf
commit d8ecb94dd9
2 changed files with 49 additions and 1 deletions

View File

@@ -46,7 +46,8 @@ namespace XCharts.Runtime
get
{
if (m_TransparentBackground) return ColorUtil.clearColor32;
else return sharedTheme.backgroundColor;
else if (sharedTheme != null) return sharedTheme.backgroundColor;
else return ColorUtil.clearColor32;
}
}
}