From c807b450c4d618670b206fa23e0041ba0520e1f8 Mon Sep 17 00:00:00 2001 From: SethTrowbridge Date: Fri, 14 May 2021 06:47:30 -0400 Subject: [PATCH] modification add/remove --- index.html | 59 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index de788dc..a349f09 100644 --- a/index.html +++ b/index.html @@ -267,16 +267,21 @@ var Pivot = }, Unmodify(inNode) { - N.Disconnect(inNode, null, "ModifyUp"); - N.Disconnect(inNode, null, "ModifyDown"); - N.Disconnect(inNode, null, "ModifyOut"); + let modifier = N.Step(inNode, "ModifyAt", false)[0]; + console.log(modifier); + + + N.Disconnect(modifier, null, "ModifyUp"); + N.Disconnect(modifier, null, "ModifyDown"); + N.Disconnect(modifier, null, "ModifyOut"); + N.Disconnect(modifier, null, "ModifyAt"); } };