mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-14 20:00:09 +00:00
增加UIToggle扩展组件
This commit is contained in:
@@ -78,6 +78,8 @@ slug: /changelog
|
||||
|
||||
## master
|
||||
|
||||
* (2024.12.10) 增加`UIToggle`扩展组件
|
||||
* (2024.12.09) 修复`UITable`的`scrollbar`无法拖动的问题
|
||||
* (2024.12.07) 修复`Chart`节点下不能放自定义节点的问题
|
||||
* (2024.12.05) 增加`UIText`扩展组件
|
||||
* (2024.12.04) 删除`TextStyle`的无用配置项`tmpAlignment`
|
||||
|
||||
@@ -82,5 +82,11 @@ namespace XCharts.Runtime
|
||||
{
|
||||
return m_Show && roundedCorner ? m_CornerRadius : null;
|
||||
}
|
||||
|
||||
public bool IsCricle()
|
||||
{
|
||||
return roundedCorner && m_CornerRadius[0] == 1 && m_CornerRadius[1] == 1 &&
|
||||
m_CornerRadius[2] == 1 && m_CornerRadius[3] == 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
[SerializeField] private bool m_DebugModel = false;
|
||||
[SerializeField] protected UIComponentTheme m_Theme = new UIComponentTheme();
|
||||
[SerializeField] private Background m_Background = new Background() { show = true };
|
||||
[SerializeField] protected Background m_Background = new Background() { show = true };
|
||||
|
||||
protected bool m_DataDirty;
|
||||
private ThemeType m_CheckTheme = 0;
|
||||
|
||||
Reference in New Issue
Block a user