C14.8 r1: the outline scrolls in its pane

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-12 05:53:35 -04:00
1 parent 53ce8eec0b
commit 1539c3a018
6 files changed
+67 -9

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ use super::{Desk, open_in};
use crate::view::Mode;
/// ElyMark over a fresh data folder, as `main` opens it.
fn start(cx: &mut TestAppContext, data: &Path) -> (Entity<Desk>, &'static mut VisualTestContext) {
pub(crate) fn start(cx: &mut TestAppContext, data: &Path) -> (Entity<Desk>, &'static mut VisualTestContext) {
// The file watcher runs on a real thread.
cx.executor().allow_parking();
cx.update(ely_gpui_component::init_for_tests);
@@ -33,7 +33,7 @@ fn start(cx: &mut TestAppContext, data: &Path) -> (Entity<Desk>, &'static mut Vi
(desk, cx)
}
fn open(desk: &Entity<Desk>, path: &Path, cx: &mut VisualTestContext) {
pub(crate) fn open(desk: &Entity<Desk>, path: &Path, cx: &mut VisualTestContext) {
desk.update(cx, |desk, cx| desk.open_path(path.to_path_buf(), cx));
cx.run_until_parked();
}