mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Frontend type constraints (#4334)
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
let matchesRemainingTerms = true;
|
||||
|
||||
if (isTypeSearch && typeSearchTerm) {
|
||||
matchesTypeSearch = node.inputTypes?.some((inputType) => inputType.toLowerCase().includes(typeSearchTerm)) || false;
|
||||
matchesTypeSearch = node.inputTypes?.some((constraint) => constraint === "All" || constraint.Limited.some((inputType) => inputType.toLowerCase().includes(typeSearchTerm))) || false;
|
||||
}
|
||||
|
||||
if (remainingSearchTerms.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user