Added 1 pixel to packing distances - seems to reduce packing artifacts at the seams.

This commit is contained in:
the_fiddler 2008-04-13 18:43:58 +00:00
parent 1ef220c5ab
commit 44729f595e

View file

@ -152,8 +152,8 @@ namespace OpenTK
left = new Node();
right = new Node();
int dw = this.rect.Width - item.Width;
int dh = this.rect.Height - item.Height;
int dw = this.rect.Width - item.Width + 1;
int dh = this.rect.Height - item.Height + 1;
if (dw > dh)
{