Skip to content

The VS Code of video editing, built for agents.

TypeScript

Remove obsolete tool.pen-small.svg icon and update path handling in node.tsx to use vector-path instead.

konstantin-paulusbd3a67db17e9
diff --git a/apps/web/src/assets/icons/tool.pen-small.svg b/apps/web/src/assets/icons/tool.pen-small.svg
deleted file mode 100644
index e25eab43..00000000
--- a/apps/web/src/assets/icons/tool.pen-small.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M7.5 6.5L15.645 9.11L16.164 13.788L11.824 16.951L7.5 15.024Z" stroke="currentColor" stroke-linejoin="round"/>
-<path d="M16.542 13.513L17.47 14.787L12.375 18.5L11.446 17.226Z" stroke="currentColor" stroke-linejoin="round"/>
-<path d="M7.5 6.5L10.945 11.668" stroke="currentColor" stroke-linecap="round"/>
-<circle cx="11.5" cy="12.5" r="1" stroke="currentColor"/>
-</svg>
diff --git a/apps/web/src/components/timeline/layers/node.tsx b/apps/web/src/components/timeline/layers/node.tsx
index 792ee292..5a819eb7 100644
--- a/apps/web/src/components/timeline/layers/node.tsx
+++ b/apps/web/src/components/timeline/layers/node.tsx
@@ -363,7 +363,7 @@ function getLayerIcon(world: World, layer: TimelineNode) {
if (isText(entity)) return "text-small";
if (isEllipse(entity)) return "tool.ellipse-small";
if (isPolygon(entity)) return "tool.polygon-small";
- if (isPath(entity)) return "tool.pen-small";
+ if (isPath(entity)) return "vector-path";
switch (findGeometryAsset(world, entity)?.type) {
case 'IMAGE':