Unify panel search behavior and polish console UI
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "Panel.h"
|
||||
#include "Core/AssetItem.h"
|
||||
#include "UI/PopupState.h"
|
||||
#include "UI/SearchText.h"
|
||||
#include "UI/TreeView.h"
|
||||
|
||||
#include <functional>
|
||||
@@ -52,7 +53,7 @@ private:
|
||||
void RenderBrowserPane(IProjectManager& manager);
|
||||
void RenderBrowserHeader(IProjectManager& manager);
|
||||
AssetItemInteraction RenderAssetItem(const AssetItemPtr& item, bool isSelected);
|
||||
static bool MatchesSearch(const AssetItemPtr& item, const std::string& search);
|
||||
static bool MatchesSearch(const AssetItemPtr& item, const UI::SearchQuery& searchQuery);
|
||||
static bool IsCurrentTreeBranch(const std::string& currentFolderPath, const std::string& folderPath);
|
||||
|
||||
char m_searchBuffer[256] = "";
|
||||
|
||||
Reference in New Issue
Block a user