Make it possible again to drag a tile into the top left corner
This commit is contained in:
parent
afbcea7b66
commit
3e56d0a656
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ export function tryMoveTile(g: Grid, from: number, to: number): Grid {
|
|||
const tile = g.cells[from]!;
|
||||
|
||||
if (
|
||||
to > 0 &&
|
||||
to >= 0 &&
|
||||
to < g.cells.length &&
|
||||
column(to, g) <= g.columns - tile.columns
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue