diff --git a/Content/Editor/IconsAtlas.flax b/Content/Editor/IconsAtlas.flax index 13af92065..519aebba2 100644 --- a/Content/Editor/IconsAtlas.flax +++ b/Content/Editor/IconsAtlas.flax @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:de930eef22208b95882bc9f870063e339672b577d381bcfa6603f0be45c814c5 -size 5610110 +oid sha256:63e9f8409580a700befdfceac9f8db3123efb72eb589b54d86429d330ff36a8f +size 5611340 diff --git a/Source/Editor/Windows/Assets/VisualScriptWindow.cs b/Source/Editor/Windows/Assets/VisualScriptWindow.cs index 545f15867..e19fe54ca 100644 --- a/Source/Editor/Windows/Assets/VisualScriptWindow.cs +++ b/Source/Editor/Windows/Assets/VisualScriptWindow.cs @@ -220,9 +220,6 @@ namespace FlaxEditor.Windows.Assets private void ShowContextMenu(SurfaceNode node, ClickableLabel label) { - // TODO: Execute only on "Edit Signature...", this makes the "Show" button useless - ((VisualScriptWindow)Values[0]).Surface.FocusNode(node); - var cm = new ContextMenu(); cm.AddButton("Show", () => ((VisualScriptWindow)Values[0]).Surface.FocusNode(node)).Icon = Editor.Instance.Icons.Search12; cm.AddButton("Delete", () => ((VisualScriptWindow)Values[0]).Surface.Delete(node)).Icon = Editor.Instance.Icons.Cross12;