Swap rows/cols
This commit is contained in:
parent
4adea1b49a
commit
c264b32e7d
@ -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)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user