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 filled button hover background (#38235)

Jason Lee53513cab236e
diff --git a/crates/ui/src/components/button/button_like.rs b/crates/ui/src/components/button/button_like.rs
index 477fc57b22f..d38b919bffe 100644
--- a/crates/ui/src/components/button/button_like.rs
+++ b/crates/ui/src/components/button/button_like.rs
@@ -217,7 +217,7 @@ impl ButtonStyle {
match self {
ButtonStyle::Filled => {
let mut filled_background = element_bg_from_elevation(elevation, cx);
- filled_background.fade_out(0.92);
+ filled_background.fade_out(0.5);
ButtonLikeStyles {
background: filled_background,