From 0add738df3b5b3b860683bca0dcf2b3e4b2a736a Mon Sep 17 00:00:00 2001 From: nizune <9-nizune@users.noreply.gitlab.insrt.uk> Date: Sun, 1 Aug 2021 19:29:27 +0200 Subject: [PATCH] Changed titlebar icons --- external/lang | 2 +- src/components/native/Titlebar.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/external/lang b/external/lang index e03c9f3..8a9c21d 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit e03c9f3a9ef39b6d93a5890a3ee1a64cfb1ffec4 +Subproject commit 8a9c21da8527b9609404ad64205f6b876c9f53d2 diff --git a/src/components/native/Titlebar.tsx b/src/components/native/Titlebar.tsx index 3a8b680..cd764a1 100644 --- a/src/components/native/Titlebar.tsx +++ b/src/components/native/Titlebar.tsx @@ -78,13 +78,13 @@ export function Titlebar() { <UpdateIndicator style="titlebar" /> <div class="actions"> <div onClick={window.native.min}> - <Minus size={20} /> + <svg aria-hidden="false" width="12" height="12" viewBox="0 0 12 12"><rect fill="currentColor" width="10" height="1" x="1" y="6"></rect></svg> </div> <div onClick={window.native.max}> - <Square size={14} /> + <svg aria-hidden="false" width="12" height="12" viewBox="0 0 12 12"><rect width="9" height="9" x="1.5" y="1.5" fill="none" stroke="currentColor"></rect></svg> </div> <div onClick={window.native.close} class="error"> - <X size={24} /> + <svg aria-hidden="false" width="12" height="12" viewBox="0 0 12 12"><polygon fill="currentColor" stroke-width="1" fill-rule="evenodd" points="11 1.576 6.583 6 11 10.424 10.424 11 6 6.583 1.576 11 1 10.424 5.417 6 1 1.576 1.576 1 6 5.417 10.424 1" style="stroke:currentColor;stroke-width:0.4"></polygon></svg> </div> </div> </TitlebarBase> -- GitLab