Fix editor text caret measurement

This commit is contained in:
2026-04-23 01:43:23 +08:00
parent 82c39e2521
commit 514dee10cc
24 changed files with 205 additions and 62 deletions

View File

@@ -2324,7 +2324,11 @@ void ProjectPanel::Append(UIDrawList& drawList) const {
AppendUIEditorFilterableTreeHostSearchField(
drawList,
m_treeFilterHostFrame,
m_treeFilterHostState);
m_treeFilterHostState,
"Search",
{},
{},
m_textMeasurer);
AppendUIEditorTreeViewBackground(
drawList,
m_treeFrame.layout,