Skip to content

Commit

Permalink
Fixed wrong handling of grid conflicts. Fixes #987, resolves #991
Browse files Browse the repository at this point in the history
  • Loading branch information
rivo committed May 24, 2024
1 parent a5d0232 commit 037df49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grid.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ ItemLoop:
if item.Item != existing.Item &&
(item.Row >= existing.Row+existing.Height || item.Row+item.Height <= existing.Row ||
item.Column >= existing.Column+existing.Width || item.Column+item.Width <= existing.Column) {
break // They don't.
continue // They don't and aren't.
}

// What's their minimum size?
Expand Down

0 comments on commit 037df49

Please sign in to comment.