diff --git a/scenes/arrow.gd b/scenes/arrow.gd index 559a6b4..5f93d6d 100644 --- a/scenes/arrow.gd +++ b/scenes/arrow.gd @@ -21,6 +21,8 @@ func _process(_delta): var t = repository.objects[target] end = t.position $Target.hide() + $Line.show() + $Tip.show() else: $Target.text = target if $Target.text.substr(0, 5) != "refs/": diff --git a/scenes/arrow.tscn b/scenes/arrow.tscn index ff684da..b6440eb 100644 --- a/scenes/arrow.tscn +++ b/scenes/arrow.tscn @@ -3,7 +3,6 @@ [ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1] [ext_resource path="res://scenes/arrow.gd" type="Script" id=2] - [node name="Arrow" type="Node2D"] show_behind_parent = true script = ExtResource( 2 )