Update gpui-native-kit and adapt tree row clicks
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s
Rust / build (macos-latest, stable) (pull_request) Canceled after 0s
Rust / build (ubuntu-latest, stable) (pull_request) Canceled after 0s
Rust / build (windows-latest, stable) (pull_request) Canceled after 0s
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s
Rust / build (macos-latest, stable) (pull_request) Canceled after 0s
Rust / build (ubuntu-latest, stable) (pull_request) Canceled after 0s
Rust / build (windows-latest, stable) (pull_request) Canceled after 0s
- Adopt tree guides, row-click toggles, and branch arrow navigation. - Stop toggling folders twice now that Tree handles row clicks.
This commit is contained in:
@@ -239,9 +239,8 @@ impl RepoFilesView {
|
||||
|
||||
self.selected_index = Some(index);
|
||||
|
||||
if expandable {
|
||||
self.toggle_folder(&id);
|
||||
} else {
|
||||
// Folder disclosure now toggles from the tree's row click handler.
|
||||
if !expandable {
|
||||
self.open_file(&id, window, cx);
|
||||
}
|
||||
cx.emit(RepoFilesEvent::Activated);
|
||||
|
||||
Reference in New Issue
Block a user