Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r--editors/code/src/commands.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index cb4e13e2c6..b5b64e33e0 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -130,11 +130,11 @@ export function joinLines(ctx: CtxInit): Cmd {
}
export function moveItemUp(ctx: CtxInit): Cmd {
- return moveItem(ctx, ra.Direction.Up);
+ return moveItem(ctx, "Up");
}
export function moveItemDown(ctx: CtxInit): Cmd {
- return moveItem(ctx, ra.Direction.Down);
+ return moveItem(ctx, "Down");
}
export function moveItem(ctx: CtxInit, direction: ra.Direction): Cmd {