Replace pane::Split
action with Split{Left,Up,Right,Down}
This allows us to show them in the command palette.
This commit is contained in:
parent
fa942e6b3d
commit
da1eb91935
3 changed files with 14 additions and 24 deletions
|
@ -948,7 +948,7 @@ mod tests {
|
|||
(editor.downgrade(), buffer)
|
||||
});
|
||||
|
||||
cx.dispatch_action(window_id, pane::Split(SplitDirection::Right));
|
||||
cx.dispatch_action(window_id, pane::SplitRight);
|
||||
let editor_2 = cx.update(|cx| {
|
||||
let pane_2 = workspace.read(cx).active_pane().clone();
|
||||
assert_ne!(pane_1, pane_2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue