From 5b35c68d2e678beeeccd3969520540fe4feeca3e Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Thu, 10 Mar 2022 13:20:45 -0800 Subject: [PATCH] Fix failing gpui test from missing cursor shape --- crates/editor/src/element.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index caea726700711e40bf0a1b173e5df856fff6e963..3238cf840f6455aae5646c6e650cc581dc4bb186 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -1467,7 +1467,7 @@ mod tests { let (window_id, editor) = cx.add_window(Default::default(), |cx| { Editor::new(EditorMode::Full, buffer, None, settings.1, None, cx) }); - let element = EditorElement::new(editor.downgrade(), editor.read(cx).style(cx)); + let element = EditorElement::new(editor.downgrade(), editor.read(cx).style(cx), CursorShape::Bar); let layouts = editor.update(cx, |editor, cx| { let snapshot = editor.snapshot(cx);