Fix failing gpui test from missing cursor shape
This commit is contained in:
@@ -1467,7 +1467,7 @@ mod tests {
|
|||||||
let (window_id, editor) = cx.add_window(Default::default(), |cx| {
|
let (window_id, editor) = cx.add_window(Default::default(), |cx| {
|
||||||
Editor::new(EditorMode::Full, buffer, None, settings.1, None, 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 layouts = editor.update(cx, |editor, cx| {
|
||||||
let snapshot = editor.snapshot(cx);
|
let snapshot = editor.snapshot(cx);
|
||||||
|
|||||||
Reference in New Issue
Block a user