Fixed node field label offsetting to account for the new right alignment

This commit is contained in:
Peter Slattery 2019-11-02 14:11:06 -07:00
parent 30f48d16fe
commit d9ae913bd8
1 changed files with 1 additions and 1 deletions

View File

@ -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);