"Fixed" the buttons not showing up properly.

This commit is contained in:
Pietro Gagliardi 2015-05-18 09:49:14 -04:00
parent 7c5459ff01
commit bf6357ef86
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ static void boxResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width, intm
intmax_t preferredWidth, preferredHeight;
(*(b->baseResize))(uiControl(b), x, y, width, height, d);
// TODO
x = 0;
y = 0;
if (b->controls->len == 0)
return;