From 0b7696fc79786c6ac7744b034ce254e5c1cba231 Mon Sep 17 00:00:00 2001 From: Chromium <62724067+Chromum@users.noreply.github.com> Date: Wed, 7 May 2025 10:05:22 +0100 Subject: [PATCH] Added tooltips --- Editor/Scripts/Editor/Data Types/IPTPort.cs | 2 +- Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs | 2 +- Editor/Scripts/Editor/Windows/ImageProcessingGraphViewWindow.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Editor/Scripts/Editor/Data Types/IPTPort.cs b/Editor/Scripts/Editor/Data Types/IPTPort.cs index 40da3d7..7773753 100644 --- a/Editor/Scripts/Editor/Data Types/IPTPort.cs +++ b/Editor/Scripts/Editor/Data Types/IPTPort.cs @@ -34,7 +34,7 @@ namespace ImageProcessingGraph.Editor protected IPTPort(Orientation portOrientation, Direction portDirection, Capacity portCapacity, Type type) : base(portOrientation, portDirection, portCapacity, type) { - + this.tooltip = $"{this.portType.ToString()}"; } public override void Connect(Edge edge) diff --git a/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs b/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs index a920794..2f043c1 100644 --- a/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs +++ b/Editor/Scripts/Editor/Windows/ImageProcessingGraphNodeVisual.cs @@ -21,7 +21,7 @@ namespace ImageProcessingGraph.Editor.Unity_Image_Processing.Scripts.Editor.Wind public List InputPorts { get; } public List OutputPorts { get; } - private ImageProcessingGraphViewWindow window; + public ImageProcessingGraphViewWindow window; private StyleSheet defaaStyleSheet; private StyleSheet errorStyleSheet; diff --git a/Editor/Scripts/Editor/Windows/ImageProcessingGraphViewWindow.cs b/Editor/Scripts/Editor/Windows/ImageProcessingGraphViewWindow.cs index d24e7a2..2ebb302 100644 --- a/Editor/Scripts/Editor/Windows/ImageProcessingGraphViewWindow.cs +++ b/Editor/Scripts/Editor/Windows/ImageProcessingGraphViewWindow.cs @@ -26,7 +26,7 @@ namespace ImageProcessingGraph.Editor public Dictionary stickyNoteDictionary; internal ImageProcessingGraphSearchProvider searchProvider; - internal ImageProcessingGraphEdgeConnectorListener edgeConnectorListener; + public ImageProcessingGraphEdgeConnectorListener edgeConnectorListener; private bool isDropdownEnabled = false; public Vector2 cachedMousePos;