Skip to content

Commit b370d8e

Browse files
ignore search case
Co-authored-by: Harry Rose <[email protected]>
1 parent c96ef3c commit b370d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AssetDependencyGraph/Editor/AssetDependencyGraph.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void OnEnable()
9999
m_GraphView.ClearSelection();
100100
// m_GraphView.graphElements.ForEach(y => { // BROKEN, Case 1268337
101101
m_GraphView.graphElements.ToList().ForEach(y => {
102-
if (y is Node node && y.title.Contains(x.newValue)) {
102+
if (y is Node node && y.title.IndexOf(x.newValue, StringComparison.OrdinalIgnoreCase) >= 0) {
103103
m_GraphView.AddToSelection(node);
104104
}
105105
});

0 commit comments

Comments
 (0)