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 805f2373e6
commit a1421c2326

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)
{