Removed a leftover line from the Go version of uiStack that is actually wrong in the C version; I thought it would fix the previous commit but it doesn't...

This commit is contained in:
Pietro Gagliardi 2015-04-11 17:26:48 -04:00
parent a0033784b7
commit 1ed1eb8dec
1 changed files with 0 additions and 1 deletions

View File

@ -169,7 +169,6 @@ static void stackResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width, in
nStretchy++;
continue;
}
c = s->controls[i].c;
uiControlPreferredSize(s->controls[i].c, d, &preferredWidth, &preferredHeight);
if (s->vertical) { // all controls have same width
// TODO TODO TODO TODO TODO TODO TODO