mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-07-06 14:54:43 +00:00
优化图表细节
This commit is contained in:
@@ -10,7 +10,7 @@ namespace XCharts.Runtime
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[DisallowMultipleComponent]
|
||||
[ComponentHandler(typeof(BackgroundHandler), false)]
|
||||
[ComponentHandler(typeof(BackgroundHandler), false, 0)]
|
||||
public class Background : MainComponent
|
||||
{
|
||||
[SerializeField] private bool m_Show = true;
|
||||
|
||||
@@ -49,7 +49,6 @@ namespace XCharts.Runtime
|
||||
var borderWidth = component.borderStyle.GetRuntimeBorderWidth();
|
||||
var borderColor = component.borderStyle.GetRuntimeBorderColor();
|
||||
var cornerRadius = component.borderStyle.GetRuntimeCornerRadius();
|
||||
|
||||
UGL.DrawRoundRectangleWithBorder(vh, chart.chartRect, backgroundColor, backgroundColor, cornerRadius,
|
||||
borderWidth, borderColor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user