Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/JasonMa0012/LWGUI
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMa0012 committed Sep 25, 2022
2 parents bd783f7 + e54ef06 commit 27c89dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Editor/DrawerUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,6 @@ public static Dictionary<string, bool> SearchProperties(Shader shader, MaterialP
}

// whole word match search
var isMatch = false;
var displayName = prop.displayName.ToLower();
var name = prop.name.ToLower();
searchingText = searchingText.ToLower();
Expand All @@ -1252,6 +1251,7 @@ public static Dictionary<string, bool> SearchProperties(Shader shader, MaterialP

foreach (var keyword in keywords)
{
var isMatch = false;
isMatch |= displayName.Contains(keyword);
isMatch |= name.Contains(keyword);
contains &= isMatch;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.jasonma.lwgui",
"version": "1.2.1",
"version": "1.2.2",
"displayName": "LWGUI",
"description": "A Lightweight, Flexible, Powerful Shader GUI System for Unity.",
"keywords": [
Expand Down

0 comments on commit 27c89dc

Please sign in to comment.