From 07205bf44138b31c60aee05cae4160faef1aee72 Mon Sep 17 00:00:00 2001 From: W_Cloud Date: Mon, 13 Oct 2025 18:19:14 +0200 Subject: [PATCH] Nodes: Adjust reroute node label position to reduce overlap Moved the label closer to the reroute node to reduce overlap. Pull Request: https://projects.blender.org/blender/blender/pulls/147991 --- source/blender/editors/space_node/node_draw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc index 9fd75611efc..c20ae3ca3c0 100644 --- a/source/blender/editors/space_node/node_draw.cc +++ b/source/blender/editors/space_node/node_draw.cc @@ -4145,7 +4145,7 @@ static void reroute_node_draw_label(TreeDrawContext &tree_draw_ctx, const short width = 512; const int x = BLI_rctf_cent_x(&node.runtime->draw_bounds) - (width / 2); - const int y = node.runtime->draw_bounds.ymax; + const int y = node.runtime->draw_bounds.ymax - 4 * UI_SCALE_FAC; uiBut *label_but = uiDefBut( &block, ButType::Label, 0, text, x, y, width, NODE_DY, nullptr, 0, 0, std::nullopt);