Skip to content

Update: Parameter's tooltip appears even if animated or has input connected#975

Merged
pixtur merged 2 commits intotixl3d:mainfrom
newemka:featureMain/ParameterTooltip
Mar 11, 2026
Merged

Update: Parameter's tooltip appears even if animated or has input connected#975
pixtur merged 2 commits intotixl3d:mainfrom
newemka:featureMain/ParameterTooltip

Conversation

@newemka
Copy link
Collaborator

@newemka newemka commented Mar 8, 2026

TiXL_B7hG6TD0W3

Comment on lines +303 to +307
if (!string.IsNullOrEmpty(Description))
{
text += Description;
}
CustomComponents.TooltipForLastItem(text);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused? Why no....

Suggested change
if (!string.IsNullOrEmpty(Description))
{
text += Description;
}
CustomComponents.TooltipForLastItem(text);
if(!string.IsNullOrEmpty(Description) {
CustomComponents.TooltipForLastItem(Description);
}

Am I missing something?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember there was a good reason, I need to check :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because this is the case where there is something connected to the input then we only display the description in the tooltip and no additional note like "Click to reset to default".
I have to admit that this can be improved.

@newemka
Copy link
Collaborator Author

newemka commented Mar 10, 2026

with the last commit, when the input is connected, the tooltip display the name of the connected operator or its instance name.
TiXL_d3hX4HUpCm

@pixtur pixtur merged commit dedec0f into tixl3d:main Mar 11, 2026
1 check passed
@newemka newemka deleted the featureMain/ParameterTooltip branch March 11, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants