Removed a ComponentGrid assert that prevented portrait orientation to work at all.

This commit is contained in:
Leon Styhre 2021-07-02 17:31:35 +02:00
parent e4c0d493df
commit 4a3b24e770

View file

@ -73,7 +73,6 @@ float ComponentGrid::getRowHeight(int row)
void ComponentGrid::setColWidthPerc(int col, float width, bool update)
{
assert(width >= 0 && width <= 1);
assert(col >= 0 && col < mGridSize.x());
mColWidths[col] = width;