From a8b0612a7f0433d0605b2b78334af8a113ef8183 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 14 Jun 2021 11:08:47 +0200 Subject: [PATCH] Add new icons and tweaks #550 --- Content/Editor/IconsAtlas.flax | 4 ++-- Source/Editor/Windows/Assets/VisualScriptWindow.cs | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) 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;