Skip to content

Commit

Permalink
fix(Menu): fix menu width in default renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam1337 committed Sep 27, 2021
1 parent 9ecda82 commit 2a1533c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/extDebug/Scripts/Menu/DMDefaultRender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void CalculateLengths(DMBranch branch, IReadOnlyList<DMItem> items, int
{
var item = items[i];
var nameLength = item.Name.Length;
var valueLength = item.Name.Length;
var valueLength = item.Value.Length;

if (item is DMBranch)
nameLength += 3;
Expand Down

0 comments on commit 2a1533c

Please sign in to comment.