i didn't touch these files, but they were changed ... maybe by clangformat ?

This commit is contained in:
Justin Garza
2025-01-20 15:52:00 -05:00
parent 68cef3e672
commit 29978ea87f
3 changed files with 3 additions and 20 deletions
-17
View File
@@ -173,20 +173,3 @@ export function parseColor(string) {
return [color.red / 255, color.green / 255, color.blue / 255, color.alpha / 255]; return [color.red / 255, color.green / 255, color.blue / 255, color.alpha / 255];
} }
// used for searching
// Simple fuzzy match function
// NOTE: i'll improve the fuzzy function before rolling this out
/*
function fuzzyMatch(text, query) {
let queryIndex = 0;
for (let i = 0; i < text.length && queryIndex < query.length; i++) {
if (text[i] === query[queryIndex]) {
queryIndex++;
}
}
return queryIndex === query.length; // Returns true if all chars in query matched in
order
}
*/