diff --git a/apps/web/src/components/LayerlingEditor.tsx b/apps/web/src/components/LayerlingEditor.tsx index 0ffe2c78..add5bcd4 100644 --- a/apps/web/src/components/LayerlingEditor.tsx +++ b/apps/web/src/components/LayerlingEditor.tsx @@ -2,7 +2,7 @@ import { GuideHelpLink } from "@/components/GuideHelpLink"; import { ShapeMenuPanel } from "@/components/workplane/ShapeMenuPanel"; -import { AlertTriangle, ArrowDownToLine, ArrowUpFromLine, Blend, Check, CircleHelp, Percent, Circle as CircleIcon, CloudUpload, Download, Eye, EyeOff, FilePlus2, FolderOpen, Hexagon as HexagonIcon, Info, ListTree, Pencil, Pentagon as PentagonIcon, Rotate3d, Route as RouteIcon, Search, Square as SquareIcon, Star as StarIcon, Triangle as TriangleIcon, X } from "lucide-react"; +import { AlertTriangle, ArrowDownToLine, ArrowUpFromLine, Check, CircleHelp, Percent, Circle as CircleIcon, CloudUpload, Download, Eye, EyeOff, FilePlus2, FolderOpen, Hexagon as HexagonIcon, Info, ListTree, Pencil, Pentagon as PentagonIcon, Rotate3d, Route as RouteIcon, Search, Square as SquareIcon, Star as StarIcon, Triangle as TriangleIcon, X } from "lucide-react"; import { ObjectListPanel } from "@/components/workplane/ObjectListPanel"; import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, type CSSProperties } from "react"; import { useWheelField } from "@/lib/useWheelField"; @@ -71,7 +71,7 @@ import { ToolbarHideSelectedIcon, ToolbarHomeIcon, ToolbarImportIcon, - ToolbarIntersectionIcon, + ToolbarIntersectionIcon, ToolbarIntersectPreviewIcon, ToolbarKeyboardIcon, ToolbarFilletIcon, ToolbarHistoryIcon, @@ -13812,7 +13812,7 @@ function SecondaryToolbar({ { id: "bundle", label: t("editor.tool.bundle"), icon: ToolbarBundleIcon, action: onBundle, enabled: canGroup }, { id: "ungroup", label: t("editor.tool.ungroup"), icon: ToolbarUngroupIcon, action: onUngroup, enabled: canUngroup }, { id: "intersect", label: t("editor.tool.intersect"), icon: ToolbarIntersectionIcon, action: onIntersect, enabled: canIntersect || intersectPreviewActive }, - { id: "intersect-preview", label: t("editor.tool.intersectPreview"), icon: Blend, action: onIntersectPreview, enabled: canIntersect || intersectPreviewActive, active: intersectPreviewActive }, + { id: "intersect-preview", label: t("editor.tool.intersectPreview"), icon: ToolbarIntersectPreviewIcon, action: onIntersectPreview, enabled: canIntersect || intersectPreviewActive, active: intersectPreviewActive }, ]; const modifyTools = [ { id: "mirror", label: t("editor.tool.mirror"), icon: ToolbarMirrorIcon, action: onMirror, enabled: canModifySelection, active: mirrorMode }, diff --git a/apps/web/src/components/icons.tsx b/apps/web/src/components/icons.tsx index b77934eb..09c3e749 100644 --- a/apps/web/src/components/icons.tsx +++ b/apps/web/src/components/icons.tsx @@ -1,3 +1,4 @@ +import { Blend } from "lucide-react"; import type { CSSProperties, SVGProps } from "react"; type IconProps = SVGProps; @@ -83,7 +84,7 @@ export function ToolbarCaretDownIcon(props: IconProps) { export function ToolbarIntersectionIcon(props: IconProps) { return ( -