From 736cff9371403589576eade89cda622915178f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Thu, 16 Apr 2026 23:29:04 -0400 Subject: [PATCH] refactor(titlebar): replace hand-drawn restored-window SVG with Phosphor Copy icon P3-56 (renderer): the maximized-state button used a custom 3-rect SVG to render the 'restored window' glyph while the minimize and close buttons used Phosphor icons. Swap the SVG for Phosphor's Copy icon so all three titlebar buttons share the same icon family and weight, and the visual bundle no longer carries a one-off raster-like SVG block. --- src/renderer/components/TitleBar.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/renderer/components/TitleBar.tsx b/src/renderer/components/TitleBar.tsx index 50cbb1c1..0edb8746 100644 --- a/src/renderer/components/TitleBar.tsx +++ b/src/renderer/components/TitleBar.tsx @@ -1,5 +1,5 @@ import { useState, useEffect, useCallback } from "react"; -import { Minus, Square, X } from "@phosphor-icons/react"; +import { Copy, Minus, Square, X } from "@phosphor-icons/react"; export default function TitleBar() { const [maximized, setMaximized] = useState(false); @@ -41,11 +41,7 @@ export default function TitleBar() { }} > {maximized ? ( - - - - - + ) : ( )}