aboutsummaryrefslogtreecommitdiffstats
path: root/ui/drawable.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/drawable.go')
-rw-r--r--ui/drawable.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/drawable.go b/ui/drawable.go
index a61c0203..ef094519 100644
--- a/ui/drawable.go
+++ b/ui/drawable.go
@@ -5,4 +5,6 @@ type Drawable interface {
Draw(ctx *Context)
// Specifies a function to call when this cell needs to be redrawn
OnInvalidate(callback func(d Drawable))
+ // Invalidates the drawable
+ Invalidate()
}