From 78d6beee8020bd3c4ef66e77ae7707b9ddc463c4 Mon Sep 17 00:00:00 2001 From: Bennet Bo Fenner <53836821+bennetbo@users.noreply.github.com> Date: Thu, 11 Apr 2024 18:36:58 +0200 Subject: [PATCH] Fix invisible chat icons (#10406) As of #10393 some icons in the chat were invisible, looking at the icons I noticed that the viewport was actually 800x800, I scaled that down to 16x16 and now they work fine again. Also remove the `reply_arrow_left` icon because it is not used at all. Thanks to @RemcoSmitsDev for noticing. I don't have any expertise in svg's, so if something is off about the svg markup reach out to me. Release Notes: - N/A --- assets/icons/pencil.svg | 7 ++-- assets/icons/reply_arrow_left.svg | 4 --- assets/icons/reply_arrow_right.svg | 57 ++---------------------------- crates/ui/src/components/icon.rs | 2 -- 4 files changed, 5 insertions(+), 65 deletions(-) delete mode 100644 assets/icons/reply_arrow_left.svg diff --git a/assets/icons/pencil.svg b/assets/icons/pencil.svg index 76c5ceb347..d90dcda10d 100644 --- a/assets/icons/pencil.svg +++ b/assets/icons/pencil.svg @@ -1,4 +1,3 @@ - - - - \ No newline at end of file + + + diff --git a/assets/icons/reply_arrow_left.svg b/assets/icons/reply_arrow_left.svg deleted file mode 100644 index 78e7133319..0000000000 --- a/assets/icons/reply_arrow_left.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/assets/icons/reply_arrow_right.svg b/assets/icons/reply_arrow_right.svg index 66d4a1bc0a..d8321e8b3e 100644 --- a/assets/icons/reply_arrow_right.svg +++ b/assets/icons/reply_arrow_right.svg @@ -1,56 +1,3 @@ - - - - - - - - - - - + + diff --git a/crates/ui/src/components/icon.rs b/crates/ui/src/components/icon.rs index 63a440253f..9236e3c9fb 100644 --- a/crates/ui/src/components/icon.rs +++ b/crates/ui/src/components/icon.rs @@ -103,7 +103,6 @@ pub enum IconName { ReplaceNext, Return, ReplyArrowRight, - ReplyArrowLeft, Settings, Screen, SelectAll, @@ -200,7 +199,6 @@ impl IconName { IconName::ReplaceNext => "icons/replace_next.svg", IconName::Return => "icons/return.svg", IconName::ReplyArrowRight => "icons/reply_arrow_right.svg", - IconName::ReplyArrowLeft => "icons/reply_arrow_left.svg", IconName::Settings => "icons/file_icons/settings.svg", IconName::Screen => "icons/desktop.svg", IconName::SelectAll => "icons/select_all.svg",