mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 14:00:12 +00:00
[optimize][painter] add upper and top painter layer
This commit is contained in:
@@ -4,8 +4,8 @@ using XCharts.Runtime;
|
||||
|
||||
namespace XCharts.Editor
|
||||
{
|
||||
[CustomPropertyDrawer(typeof(TextPadding), true)]
|
||||
public class TextPaddingDrawer : BasePropertyDrawer
|
||||
[CustomPropertyDrawer(typeof(Padding), true)]
|
||||
public class PaddingDrawer : BasePropertyDrawer
|
||||
{
|
||||
public override string ClassName { get { return "Padding"; } }
|
||||
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
|
||||
@@ -22,4 +22,9 @@ namespace XCharts.Editor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[CustomPropertyDrawer(typeof(TextPadding), true)]
|
||||
public class TextPaddingDrawer : PaddingDrawer
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user