aboutsummaryrefslogtreecommitdiff
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, 1 insertions, 1 deletions
diff --git a/ui/drawable.go b/ui/drawable.go
index eb60463..a61c020 100644
--- a/ui/drawable.go
+++ b/ui/drawable.go
@@ -2,7 +2,7 @@ package ui
type Drawable interface {
// Called when this renderable should draw itself
- Draw(ctx Context)
+ Draw(ctx *Context)
// Specifies a function to call when this cell needs to be redrawn
OnInvalidate(callback func(d Drawable))
}