Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix icon paths

Marshall Bowers366a4918c327
diff --git a/crates/storybook2/src/collab_panel.rs b/crates/storybook2/src/collab_panel.rs
index 3d5846a5524..d25702ee636 100644
--- a/crates/storybook2/src/collab_panel.rs
+++ b/crates/storybook2/src/collab_panel.rs
@@ -131,9 +131,9 @@ impl CollabPanel {
div().flex().h_full().gap_1().items_center().child(
svg()
.path(if expanded {
- "icons/radix/caret-down.svg"
+ "icons/caret_down.svg"
} else {
- "icons/radix/caret-up.svg"
+ "icons/caret_up.svg"
})
.w_3p5()
.h_3p5()
diff --git a/crates/storybook2/src/ui/components/panel.rs b/crates/storybook2/src/ui/components/panel.rs
index 39e103dd63e..b00de383fed 100644
--- a/crates/storybook2/src/ui/components/panel.rs
+++ b/crates/storybook2/src/ui/components/panel.rs
@@ -39,7 +39,7 @@ pub enum PanelSide {
use std::collections::HashSet;
-#[derive(Element)]
+// #[derive(Element)]
pub struct Panel {
scroll_state: ScrollState,
current_side: PanelSide,
diff --git a/crates/storybook2/src/workspace.rs b/crates/storybook2/src/workspace.rs
index 19e3f5730de..92540052b7f 100644
--- a/crates/storybook2/src/workspace.rs
+++ b/crates/storybook2/src/workspace.rs
@@ -261,7 +261,7 @@ impl Titlebar {
// .fill(theme.lowest.base.pressed.background)
.child(
svg()
- .path("icons/radix/speaker-loud.svg")
+ .path("icons/speaker-loud.svg")
.size_3p5()
.fill(theme.lowest.base.default.foreground),
),
@@ -281,7 +281,7 @@ impl Titlebar {
// .fill(theme.lowest.base.pressed.background)
.child(
svg()
- .path("icons/radix/desktop.svg")
+ .path("icons/desktop.svg")
.size_3p5()
.fill(theme.lowest.base.default.foreground),
),
@@ -313,7 +313,7 @@ impl Titlebar {
)
.child(
svg()
- .path("icons/caret_down_8.svg")
+ .path("icons/caret_down.svg")
.w_2()
.h_2()
.fill(theme.lowest.variant.default.foreground),