Skip to content

Commit 82b9db3

Browse files
committed
Fixed padding to next node.
1 parent e611be5 commit 82b9db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReClass.NET/Nodes/BitFieldNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public override Size Draw(DrawContext context, int x, int y)
171171
}
172172
}
173173

174-
y += 2;
174+
y += 8;
175175
}
176176

177177
return new Size(x - origX, y - origY + context.Font.Height);
@@ -187,7 +187,7 @@ public override int CalculateDrawnHeight(DrawContext context)
187187
var height = context.Font.Height;
188188
if (LevelsOpen[context.Level])
189189
{
190-
height += context.Font.Height + 2;
190+
height += context.Font.Height + 8;
191191
}
192192
return height;
193193
}

0 commit comments

Comments
 (0)