From d9ae913bd8ae448d0b69ec87d555a366e2a2860c Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Sat, 2 Nov 2019 14:11:06 -0700 Subject: [PATCH] Fixed node field label offsetting to account for the new right alignment --- src/foldhaus_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/foldhaus_interface.cpp b/src/foldhaus_interface.cpp index bf5821c..3a257d1 100644 --- a/src/foldhaus_interface.cpp +++ b/src/foldhaus_interface.cpp @@ -527,7 +527,7 @@ OPERATION_RENDER_PROC(RenderNodeView) node_struct_member Member = Spec.MemberList[Connection]; DrawString(RenderBuffer, MakeString(Member.Name), State->NodeRenderSettings.Font, - v2{PortBounds.Min.x - 32, PortBounds.Min.y}, WhiteV4, Align_Right); + v2{PortBounds.Min.x - 8, PortBounds.Min.y}, WhiteV4, Align_Right); } rect ValueBounds = CalculateNodeInputValueBounds(Node, Connection, State->NodeRenderSettings);