mirror of
https://github.com/rivo/tview.git
synced 2025-04-28 13:48:53 +08:00
parent
a5d02328f1
commit
037df494fb
2
grid.go
2
grid.go
@ -287,7 +287,7 @@ ItemLoop:
|
|||||||
if item.Item != existing.Item &&
|
if item.Item != existing.Item &&
|
||||||
(item.Row >= existing.Row+existing.Height || item.Row+item.Height <= existing.Row ||
|
(item.Row >= existing.Row+existing.Height || item.Row+item.Height <= existing.Row ||
|
||||||
item.Column >= existing.Column+existing.Width || item.Column+item.Width <= existing.Column) {
|
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?
|
// What's their minimum size?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user