整理和重构代码

This commit is contained in:
monitor1394
2022-12-07 13:16:06 +08:00
parent 84a8e6ca19
commit d67a922a74
11 changed files with 33 additions and 160 deletions

View File

@@ -539,7 +539,7 @@ namespace XCharts.Editor
return HEADER_HEIGHT;
}
internal static bool DrawHeader(string title, bool state, bool drawBackground, SerializedProperty activeField,
public static bool DrawHeader(string title, bool state, bool drawBackground, SerializedProperty activeField,
Action<Rect> drawCallback, params HeaderMenuInfo[] menus)
{
var rect = GUILayoutUtility.GetRect(1f, HEADER_HEIGHT);