Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Wire up active style for `Tab`
Marshall Bowers52f2521f6a72
diff --git a/crates/ui2/src/components/tab.rs b/crates/ui2/src/components/tab.rsindex 6eebaa1e0b4..e9d03e9caee 100644--- a/crates/ui2/src/components/tab.rs+++ b/crates/ui2/src/components/tab.rs@@ -110,6 +110,7 @@ impl<S: 'static + Send + Sync + Clone> Tab<S> {};div()+ .id("tab").px_2().py_0p5().flex()@@ -117,7 +118,7 @@ impl<S: 'static + Send + Sync + Clone> Tab<S> {.justify_center().bg(tab_bg).hover(|h| h.bg(tab_hover_bg))- // .active(|a| a.bg(tab_active_bg))+ .active(|a| a.bg(tab_active_bg)).child(div().px_1()