From 4293d70f851f163da88d9a0d99d7ec4aa2f1a7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=AC=E6=98=A5=E9=B9=8F?= Date: Fri, 6 Jun 2025 12:57:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=96=B9=E5=BC=8F=E6=94=B9?= =?UTF-8?q?=E6=88=90=E7=BB=9F=E4=B8=80=E7=94=A8border?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AssetBundleCollectorWindow.cs | 64 ++++++++++--------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs index 4fbafee8..bf108656 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs @@ -501,28 +501,6 @@ namespace YooAsset.Editor element.style.borderBottomWidth = 0; } - private string ConvertSearchText(string str) - { - if (_viewMode == EViewMode.Search) - { - if (str.ToLower().Contains(_lowerSearchKey)) - { - int startIndex = str.ToLower().IndexOf(_lowerSearchKey); - while (startIndex >= 0) - { - string before = str.Substring(0, startIndex); - string match = str.Substring(startIndex, _lowerSearchKey.Length); - string after = str.Substring(startIndex + _lowerSearchKey.Length); - str = $"{before}{match}{after}"; - startIndex = str.ToLower().IndexOf(_lowerSearchKey, startIndex + 20); // 20是的长度 - } - return str; - } - } - - return str; - } - // 设置栏相关 private void RefreshSettings() { @@ -712,10 +690,23 @@ namespace YooAsset.Editor var package = _packageListView.itemsSource[index] as AssetBundleCollectorPackage; var textField1 = element.Q