Skip to content

Commit 2542537

Browse files
committed
fix: 修改挤出字符功能的默认快捷键配置
1 parent d38cd2b commit 2542537

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/src/core/service/controlService/shortcutKeysEngine/shortcutKeysRegister.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -991,8 +991,8 @@ export class KeyBindsRegistrar {
991991
toast(Settings.isStealthModeEnabled ? "已开启潜行模式" : "已关闭潜行模式");
992992
});
993993

994-
// 去除选中文本节点开头的一个字符,并将移除的字符创建为新的文本节点放在左侧 (ber 拟声词,类似"剥"或"掰"的动作)
995-
await this.project.keyBinds.create("removeFirstCharFromSelectedTextNodes", "b e r", () => {
994+
// 去除选中文本节点开头的一个字符,并将移除的字符创建为新的文本节点放在左侧
995+
await this.project.keyBinds.create("removeFirstCharFromSelectedTextNodes", "C-backspace", () => {
996996
const selectedTextNodes = this.project.stageManager
997997
.getSelectedEntities()
998998
.filter((node) => node instanceof TextNode);
@@ -1053,8 +1053,8 @@ export class KeyBindsRegistrar {
10531053
}
10541054
});
10551055

1056-
// 去除选中文本节点结尾的一个字符,并将移除的字符创建为新的文本节点放在右侧 (der 拟声词,类似"剁"或"掉"的动作)
1057-
await this.project.keyBinds.create("removeLastCharFromSelectedTextNodes", "d e r", () => {
1056+
// 去除选中文本节点结尾的一个字符,并将移除的字符创建为新的文本节点放在右侧
1057+
await this.project.keyBinds.create("removeLastCharFromSelectedTextNodes", "C-delete", () => {
10581058
const selectedTextNodes = this.project.stageManager
10591059
.getSelectedEntities()
10601060
.filter((node) => node instanceof TextNode);

0 commit comments

Comments
 (0)