From c264b32e7d22c53d22da7793cfee9d7bb72cb033 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Tue, 16 Jun 2020 00:44:19 -0400 Subject: [PATCH] Swap rows/cols --- platform/ui/src/components/LayoutSelector/LayoutSelector.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/ui/src/components/LayoutSelector/LayoutSelector.jsx b/platform/ui/src/components/LayoutSelector/LayoutSelector.jsx index 597bfc483..54bb233d6 100644 --- a/platform/ui/src/components/LayoutSelector/LayoutSelector.jsx +++ b/platform/ui/src/components/LayoutSelector/LayoutSelector.jsx @@ -35,8 +35,8 @@ function LayoutSelector({ onSelection }) { const y = Math.floor(index / 3); onSelection({ - numRows: x + 1, - numCols: y + 1, + numRows: y + 1, + numCols: x + 1, }); }} onMouseEnter={() => setHoveredIndex(index)}