File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
service/controlService/keyboardOnlyEngine
stage/stageManager/concreteMethods Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { EntityShakeEffect } from "@/core/service/feedbackService/effectEngine/c
44import { Settings } from "@/core/service/Settings" ;
55import { TextNode } from "@/core/stage/stageObject/entity/TextNode" ;
66import { getEnterKey } from "@/utils/keyboardFunctions" ;
7- import { toast } from "sonner" ;
87
98/**
109 * 纯键盘控制的相关引擎
@@ -86,6 +85,6 @@ export class KeyboardOnlyEngine {
8685 for ( const textNode of textNodes ) {
8786 this . project . effects . addEffect ( EntityShakeEffect . fromEntity ( textNode ) ) ;
8887 }
89- toast ( "您可能记错了节点进入编辑状态的控制键设置" ) ;
88+ // 这里就不显示提示文字了。因为用户“快深频”说总是误弹出。
9089 }
9190}
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ export class NodeAdder {
164164 ) ;
165165 }
166166 this . project . historyManager . recordStep ( ) ;
167- return newUUID ;
167+ return connectPoint . uuid ;
168168 }
169169 /**
170170 * 通过纯文本生成网状结构
You can’t perform that action at this time.
0 commit comments