From 4a3b24e770cabe07d7185e8bee6bf255d174acd2 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 2 Jul 2021 17:31:35 +0200 Subject: [PATCH] Removed a ComponentGrid assert that prevented portrait orientation to work at all. --- es-core/src/components/ComponentGrid.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/es-core/src/components/ComponentGrid.cpp b/es-core/src/components/ComponentGrid.cpp index bdaaf3b31..183975e73 100644 --- a/es-core/src/components/ComponentGrid.cpp +++ b/es-core/src/components/ComponentGrid.cpp @@ -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;