Przeglądaj źródła

fix: 修复tag出现矩形框bug

bill 10 godzin temu
rodzic
commit
3795a88ba3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/example/platform/resource-swkk.ts

+ 1 - 1
src/example/platform/resource-swkk.ts

@@ -446,7 +446,7 @@ export const getAITaggingInfos = async (
 
       const name = itemIcon?.name || "";
       const isTag = icon === "Tag";
-      if (getTag && !isTag) continue;
+      if ((getTag && !isTag) || (isTag && !getTag)) continue;
       if (!name && !isTag) continue;
 
       const pixelCenter = {