Remove disabling effect on the stage and unstage toolbar buttons (cherry-pick #26936) (#26941)

gcp-cherry-pick-bot[bot] and Cole Miller created

Cherry-picked Remove disabling effect on the stage and unstage toolbar
buttons (#26936)

Closes #26883

Release Notes:

- N/A

Co-authored-by: Cole Miller <cole@zed.dev>

Change summary

crates/git_ui/src/project_diff.rs | 11 -----------
1 file changed, 11 deletions(-)

Detailed changes

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)
                                 })),