diff options
Diffstat (limited to 'lib/ui/borders.go')
-rw-r--r-- | lib/ui/borders.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ui/borders.go b/lib/ui/borders.go index 38b35fd1..97df5df9 100644 --- a/lib/ui/borders.go +++ b/lib/ui/borders.go @@ -30,6 +30,10 @@ func (bordered *Bordered) contentInvalidated(d Drawable) { bordered.Invalidate() } +func (bordered *Bordered) Children() []Drawable { + return []Drawable{bordered.content} +} + func (bordered *Bordered) Invalidate() { if bordered.onInvalidate != nil { bordered.onInvalidate(bordered) |