Swap rows/cols
This commit is contained in:
1 parent
4adea1b49a
commit
c264b32e7d
1 file changed
+2
-2
@@ -35,8 +35,8 @@ function LayoutSelector({ onSelection }) {
|
|||||||
const y = Math.floor(index / 3);
|
const y = Math.floor(index / 3);
|
||||||
|
|
||||||
onSelection({
|
onSelection({
|
||||||
numRows: x + 1,
|
numRows: y + 1,
|
||||||
numCols: y + 1,
|
numCols: x + 1,
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
onMouseEnter={() => setHoveredIndex(index)}
|
onMouseEnter={() => setHoveredIndex(index)}
|
||||||
|
|||||||
Reference in new issue
Block a user