Swap rows/cols

This commit is contained in:
dannyrb 2020-06-16 00:44:19 -04:00
parent 4adea1b49a
commit c264b32e7d

View File

@ -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)}