mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 17:22:50 +00:00
Make it possible again to drag a tile into the top left corner
This commit is contained in:
1 parent
afbcea7b66
commit
3e56d0a656
1 file changed
+1
-1
@@ -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
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user