Added tooltips

This commit is contained in:
Chromium 2025-05-07 10:05:22 +01:00
parent 2e32a83484
commit 0b7696fc79
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ namespace ImageProcessingGraph.Editor
protected IPTPort(Orientation portOrientation, Direction portDirection, Capacity portCapacity, Type type) : base(portOrientation, portDirection, portCapacity, type) 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) public override void Connect(Edge edge)

View File

@ -21,7 +21,7 @@ namespace ImageProcessingGraph.Editor.Unity_Image_Processing.Scripts.Editor.Wind
public List<Port> InputPorts { get; } public List<Port> InputPorts { get; }
public List<Port> OutputPorts { get; } public List<Port> OutputPorts { get; }
private ImageProcessingGraphViewWindow window; public ImageProcessingGraphViewWindow window;
private StyleSheet defaaStyleSheet; private StyleSheet defaaStyleSheet;
private StyleSheet errorStyleSheet; private StyleSheet errorStyleSheet;

View File

@ -26,7 +26,7 @@ namespace ImageProcessingGraph.Editor
public Dictionary<string, IPT_StickyNote> stickyNoteDictionary; public Dictionary<string, IPT_StickyNote> stickyNoteDictionary;
internal ImageProcessingGraphSearchProvider searchProvider; internal ImageProcessingGraphSearchProvider searchProvider;
internal ImageProcessingGraphEdgeConnectorListener edgeConnectorListener; public ImageProcessingGraphEdgeConnectorListener edgeConnectorListener;
private bool isDropdownEnabled = false; private bool isDropdownEnabled = false;
public Vector2 cachedMousePos; public Vector2 cachedMousePos;