custom tooltip working except for not shrinking

This commit is contained in:
Tabby 2026-01-11 11:31:35 +11:00
parent 270dd2a6f6
commit aa81f860b5
6 changed files with 72 additions and 18 deletions

View file

@ -44,3 +44,15 @@ func _drop_data(at_position: Vector2, data: Variant) -> void:
data.icon.show()
update_ui()
data.update_ui()
func _on_mouse_entered() -> void:
print("im real?")
if item:
Tooltip.show_tip(item.item_name)
pass # Replace with function body.
func _on_mouse_exited() -> void:
Tooltip.hide_tip()
pass # Replace with function body.