修改编辑器

This commit is contained in:
陈思海 2026-04-29 14:48:10 +08:00
parent 1ba8c9a1c8
commit 999f9beaf8

View File

@ -61,7 +61,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
internal static void OpenFromAsset(InputGlyphDatabase database)
{
InputGlyphDatabaseWindow window = GetWindow<InputGlyphDatabaseWindow>(true, "Input Glyph Database", true);
InputGlyphDatabaseWindow window = GetWindow<InputGlyphDatabaseWindow>("Input Glyph Database", true);
window.SetDatabase(database);
window.minSize = new Vector2(940f, 560f);
window.Show();
@ -165,6 +165,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
SerializedProperty table = _tablesProperty.GetArrayElementAtIndex(i);
DrawTableButton(i, table);
}
EditorGUILayout.EndScrollView();
GUILayout.Space(6f);
@ -224,6 +225,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
{
DrawTable(_selectedTable);
}
GUILayout.EndArea();
}
@ -274,6 +276,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
DrawEntry(entriesProperty, i, entry);
}
EditorGUILayout.EndScrollView();
}