diff --git a/crates/git_ui/src/project_diff.rs b/crates/git_ui/src/project_diff.rs index db3302116ea6f1f1cc3cfcf5dd2b0f1e7a9e9504..2cde89340b9724c8113918416453e69cc42d58fe 100644 --- a/crates/git_ui/src/project_diff.rs +++ b/crates/git_ui/src/project_diff.rs @@ -924,12 +924,6 @@ impl Render for ProjectDiffToolbar { &StageAndNext, &focus_handle, )) - // don't actually disable the button so it's mashable - .color(if button_states.stage { - Color::Default - } else { - Color::Disabled - }) .on_click(cx.listener(|this, _, window, cx| { this.dispatch_action(&StageAndNext, window, cx) })), @@ -941,11 +935,6 @@ impl Render for ProjectDiffToolbar { &UnstageAndNext, &focus_handle, )) - .color(if button_states.unstage { - Color::Default - } else { - Color::Disabled - }) .on_click(cx.listener(|this, _, window, cx| { this.dispatch_action(&UnstageAndNext, window, cx) })),