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

@ -9,4 +9,12 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
global_position = get_global_mouse_position() + Vector2(1,1)
global_position = get_global_mouse_position() + Vector2(12,-6)
func show_tip(text : String):
tooltip_label.text = text
show()
func hide_tip():
hide()
pass