Skip to content

Commit

Permalink
fixed updateSetMeta to be aligned with recent meta action refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
fde31 committed Jan 8, 2025
1 parent f753957 commit 83a297a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/actions/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { NotificationLevel } from "../models/notification";
import { writePacket } from "osc";
import { oscQueryBridge } from "../controller/oscqueryBridgeController";
import { isValidConnection } from "../lib/editorUtils";
import throttle from "lodash.throttle";
import { OSCQuerySetMeta } from "../lib/types";
import { setConnection, setNode, setNodes, unloadPatcherNodeOnRemote } from "./graph";
import { getGraphEditorInstance, getGraphEditorLockedState } from "../selectors/editor";
import { defaultNodeGap } from "../lib/constants";
Expand Down Expand Up @@ -163,7 +161,7 @@ export const removeEditorNodeById = (id: GraphNode["id"], updateSetMeta = true):
}

dispatch(unloadPatcherNodeOnRemote(node.instanceId));
if (updateSetMeta) doUpdateNodesMeta(getNodes(state).delete(node.id));
if (updateSetMeta) updateSetMetaOnRemoteFromNodes(getNodes(state).delete(node.id));

} catch (err) {
dispatch(showNotification({
Expand Down

0 comments on commit 83a297a

Please sign in to comment.