SpyrexDE / SmoothScroll

Addon for the Godot Game Engine that adds a SmoothScrollContainer.
https://spyrexde.github.io/SmoothScroll/
MIT License
132 stars 10 forks source link

fix _on_focus_changed method errors in godot-3 branch #45

Closed lingthing closed 4 months ago

lingthing commented 4 months ago

In Godot3 has no Node.is_ancestor_of method. The equivalent Node.is_a_parent_of can be used instead.

Similarly, use Control.rect_global_position instead of Control.global_position .