invalidatable: cleanup dead code
Remove invalidatable type and all associated calls. All items can directly invalidate the UI. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
34014d3cee
commit
ba24e92062
41 changed files with 76 additions and 303 deletions
lib/ui
|
@ -53,11 +53,5 @@ func (p *Popover) Focus(f bool) {
|
|||
}
|
||||
|
||||
func (p *Popover) Invalidate() {
|
||||
p.content.Invalidate()
|
||||
}
|
||||
|
||||
func (p *Popover) OnInvalidate(f func(Drawable)) {
|
||||
p.content.OnInvalidate(func(_ Drawable) {
|
||||
f(p)
|
||||
})
|
||||
Invalidate()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue