1
0
mirror of https://github.com/rivo/tview.git synced 2025-04-24 13:48:56 +08:00

Fixed wrong handling of grid conflicts. Fixes #987, resolves #991

This commit is contained in:
Oliver 2024-05-24 08:30:12 +02:00
parent a5d02328f1
commit 037df494fb

View File

@ -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?