Added new release, updated nodes to contain tooltip text.
This commit is contained in:
@@ -10,10 +10,10 @@ public partial class NodeTooltip : PanelContainer
|
||||
|
||||
public void ShowTooltip(string titleText, string descriptionText, Button button)
|
||||
{
|
||||
Show();
|
||||
title.Text = titleText;
|
||||
image.Texture = ResourceLoader.LoadDSLTooltip(titleText);
|
||||
description.Text = descriptionText;
|
||||
Show();
|
||||
Position = button.GlobalPosition - spacing - new Vector2(Size.X, Size.Y/2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user