From dd9586fb7c0cd695ba38faed4c9972f2ff30482a Mon Sep 17 00:00:00 2001 From: Gogades Date: Wed, 21 Oct 2026 18:08:18 -0400 Subject: [PATCH] Boolean intersection and Show common part icon fixes for dark and graphite themes --- apps/web/src/components/LayerlingEditor.tsx | 6 +++--- apps/web/src/components/icons.tsx | 9 ++++++++- docs/CHANGELOG.md | 2 ++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/apps/web/src/components/LayerlingEditor.tsx b/apps/web/src/components/LayerlingEditor.tsx index 0ffe2c78d..add5bcd4d 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 b77934ebf..09c3e749c 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 ( -