update dep

This commit is contained in:
IDONTSUDO 2024-10-01 09:57:21 +03:00
parent 4657652dd0
commit c135bca77a

View file

@ -1,11 +1,11 @@
import { TypedEvent } from "../../../core/helper/typed_event";
import xmlFormat from "xml-formatter";
import { NodeEditor } from "rete";
import { Position } from "rete-react-plugin";
import { AreaPlugin } from "rete-area-plugin";
import { TypedEvent } from "../../../core/helper/typed_event";
import { AreaExtra, Schemes } from "../presentation/ui/editor/editor";
import { Result } from "../../../core/helper/result";
import { AreaPlugin } from "rete-area-plugin";
import { Skills } from "../../../core/model/skill_model";
import xmlFormat from "xml-formatter";
import { Position } from "rete-react-plugin";
export interface BtDrawDragAndDropView {
x: number;
@ -78,9 +78,7 @@ export class BehaviorTreeBuilderModel {
)} ID=${skills.skillIsCondition(skills.getSkillDo(editor.getNode(id)!.label)).fold(
() => "RbsAction",
() => "ls"
)} do="${skills.getSkillDo(editor.getNode(id)!.label)}" command="${
editor.getNode(id)?.label
}" sid=${id}"`;
)} do="${skills.getSkillDo(editor.getNode(id)!.label)}" command="${editor.getNode(id)?.label}" sid=${id}"`;
}
return editor.getNode(id)?.label;
} catch (error) {