Added 1 pixel to packing distances - seems to reduce packing artifacts at the seams.
This commit is contained in:
parent
1ef220c5ab
commit
44729f595e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue