This reverts commit 6767e98e00
.
Somehow that PR automerged itself even with failed CI checks.
Release Notes:
- N/A
This commit is contained in:
parent
87cdb68cca
commit
b75964a636
20 changed files with 161 additions and 139 deletions
|
@ -59,7 +59,8 @@ use std::{collections::HashSet, sync::Arc, time::Duration, usize};
|
|||
use strum::{IntoEnumIterator, VariantNames};
|
||||
use time::OffsetDateTime;
|
||||
use ui::{
|
||||
prelude::*, Checkbox, ContextMenu, Elevation, PopoverMenu, Scrollbar, ScrollbarState, Tooltip,
|
||||
prelude::*, Checkbox, ContextMenu, ElevationIndex, PopoverMenu, Scrollbar, ScrollbarState,
|
||||
Tooltip,
|
||||
};
|
||||
use util::{maybe, post_inc, ResultExt, TryFutureExt};
|
||||
use workspace::{AppState, OpenOptions, OpenVisible};
|
||||
|
@ -3189,7 +3190,7 @@ impl GitPanel {
|
|||
let checkbox = Checkbox::new("stage-file", entry_staging.as_bool().into())
|
||||
.disabled(!self.has_write_access(cx))
|
||||
.fill()
|
||||
.elevation(Elevation::Surface)
|
||||
.elevation(ElevationIndex::Surface)
|
||||
.on_click({
|
||||
let entry = entry.clone();
|
||||
let git_panel = entity.downgrade();
|
||||
|
@ -3638,7 +3639,7 @@ impl GitPanel {
|
|||
&& !self.has_conflicts()
|
||||
&& !entry.status.is_created(),
|
||||
)
|
||||
.elevation(Elevation::Surface)
|
||||
.elevation(ElevationIndex::Surface)
|
||||
.on_click({
|
||||
let entry = entry.clone();
|
||||
cx.listener(move |this, _, window, cx| {
|
||||
|
@ -3781,7 +3782,7 @@ impl Render for GitPanel {
|
|||
}))
|
||||
.size_full()
|
||||
.overflow_hidden()
|
||||
.bg(Elevation::Surface.bg(cx))
|
||||
.bg(ElevationIndex::Surface.bg(cx))
|
||||
.child(
|
||||
v_flex()
|
||||
.size_full()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue