Forgot to make the dummy views ignore autoresizing masks.

This commit is contained in:
Pietro Gagliardi 2016-06-12 15:35:54 -04:00
parent 0ce4fd6efd
commit 629c242a83
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ struct uiGrid {
for (x = 0; x < xcount; x++)
if (gg[y][x] == -1) {
gv[y][x] = [[NSView alloc] initWithFrame:NSZeroRect];
[gv[y][x] setTranslatesAutoresizingMaskIntoConstraints:NO];
[self addSubview:gv[y][x]];
[self->emptyCellViews addObject:gv[y][x]];
} else {