New commit review flow in project diff view (#25229)
Closes #ISSUE Release Notes: - N/A --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com>
This commit is contained in:
parent
6b9397c380
commit
4871d3c9e7
18 changed files with 982 additions and 480 deletions
|
@ -349,7 +349,11 @@ impl Dock {
|
|||
.and_then(|index| self.panel_entries.get(index))
|
||||
}
|
||||
|
||||
pub(crate) fn set_open(&mut self, open: bool, window: &mut Window, cx: &mut Context<Self>) {
|
||||
pub fn active_panel_index(&self) -> Option<usize> {
|
||||
self.active_panel_index
|
||||
}
|
||||
|
||||
pub fn set_open(&mut self, open: bool, window: &mut Window, cx: &mut Context<Self>) {
|
||||
if open != self.is_open {
|
||||
self.is_open = open;
|
||||
if let Some(active_panel) = self.active_panel_entry() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue