hide tooltip text when none needed

This commit is contained in:
2025-07-29 22:18:18 -05:00
parent e1252fc7d1
commit 8d26fc6b86

View File

@@ -715,7 +715,9 @@
((and FlxG.mouse.justPressedRight (< 0 (count altActions)))
(showRightClickMenu text altActions))
((or tooltipText (< 0 (count altActions)))
(showTooltipText (or text "") tooltipText altActions)))
(showTooltipText text (or tooltipText "") altActions))
(true
(hideTooltipText)))
(set otherIsSelected true)
(set text.color (getHighlighted (dictGet _colors text)))