From 7d49dff0747f69e96ab83a98b97ece96d4268b36 Mon Sep 17 00:00:00 2001
From: anthops <32993852+anthops@users.noreply.github.com>
Date: Wed, 23 Apr 2025 16:32:52 +0000
Subject: [PATCH] fix: prefer webgl for devices with webgpu and no float32-blendable feature flag #1899 (#1933)

---
 quartz/components/scripts/explorer.inline.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/quartz/components/scripts/explorer.inline.ts b/quartz/components/scripts/explorer.inline.ts
index e9c0a09..b431c53 100644
--- a/quartz/components/scripts/explorer.inline.ts
+++ b/quartz/components/scripts/explorer.inline.ts
@@ -134,9 +134,9 @@
   }
 
   for (const child of node.children) {
-    const childNode = child.data
-      ? createFileNode(currentSlug, child)
-      : createFolderNode(currentSlug, child, opts)
+    const childNode = child.isFolder
+      ? createFolderNode(currentSlug, child, opts)
+      : createFileNode(currentSlug, child)
     ul.appendChild(childNode)
   }
 

--
Gitblit v1.10.0