From ac2d3eec91538979a27c8c048c5d68a8311c0311 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 13 Jan 2025 16:02:45 -0500 Subject: [PATCH] Remove commented-out code (#23089) This PR removes some commented-out code from the codebase. Release Notes: - N/A --- crates/rpc/src/proto_client.rs | 1 - crates/theme/src/styles/colors.rs | 6 ------ 2 files changed, 7 deletions(-) diff --git a/crates/rpc/src/proto_client.rs b/crates/rpc/src/proto_client.rs index 9288416d57..e1e2c5ed09 100644 --- a/crates/rpc/src/proto_client.rs +++ b/crates/rpc/src/proto_client.rs @@ -5,7 +5,6 @@ use futures::{ Future, FutureExt as _, }; use gpui::{AnyModel, AnyWeakModel, AsyncAppContext, Model}; -// pub use prost::Message; use proto::{ error::ErrorExt as _, AnyTypedEnvelope, EntityMessage, Envelope, EnvelopedMessage, RequestMessage, TypedEnvelope, diff --git a/crates/theme/src/styles/colors.rs b/crates/theme/src/styles/colors.rs index 62ab46610a..4717c63f5d 100644 --- a/crates/theme/src/styles/colors.rs +++ b/crates/theme/src/styles/colors.rs @@ -57,8 +57,6 @@ pub struct ThemeColors { pub element_disabled: Hsla, /// Background Color. Used for the area that shows where a dragged element will be dropped. pub drop_target_background: Hsla, - /// Border Color. Used to show the area that shows where a dragged element will be dropped. - // pub drop_target_border: Hsla, /// Used for the background of a ghost element that should have the same background as the surface it's on. /// /// Elements might include: Buttons, Inputs, Checkboxes, Radio Buttons... @@ -140,16 +138,12 @@ pub struct ThemeColors { pub scrollbar_track_background: Hsla, /// The border color of the scrollbar track. pub scrollbar_track_border: Hsla, - // /// The opacity of the scrollbar status marks, like diagnostic states and git status. - // todo() - // pub scrollbar_status_opacity: Hsla, // === // Editor // === pub editor_foreground: Hsla, pub editor_background: Hsla, - // pub editor_inactive_background: Hsla, pub editor_gutter_background: Hsla, pub editor_subheader_background: Hsla, pub editor_active_line_background: Hsla,