diff options
author | Ninni Pipping <ninni.pipping@gmail.com> | 2023-01-26 13:17:26 +0100 |
---|---|---|
committer | Ninni Pipping <ninni.pipping@gmail.com> | 2023-01-30 08:22:06 +0100 |
commit | bbf203bc32aae88dfc9f527db44856709572e2f1 (patch) | |
tree | 68f1a25a1d59793d84c3da9010c21c552dbb4afa /scene/2d/navigation_link_2d.cpp | |
parent | cc7aa72f01fdea5f93b0a618fcd12db55617beb0 (diff) |
Hide clip_children for non-drawn CanvasItems
Diffstat (limited to 'scene/2d/navigation_link_2d.cpp')
-rw-r--r-- | scene/2d/navigation_link_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/navigation_link_2d.cpp b/scene/2d/navigation_link_2d.cpp index 9ef0ba617e..5b913f4472 100644 --- a/scene/2d/navigation_link_2d.cpp +++ b/scene/2d/navigation_link_2d.cpp @@ -282,6 +282,7 @@ NavigationLink2D::NavigationLink2D() { NavigationServer2D::get_singleton()->link_set_owner_id(link, get_instance_id()); set_notify_transform(true); + set_hide_clip_children(true); } NavigationLink2D::~NavigationLink2D() { |