From b63fc999e15be496b6f4aa49bc0282706922b69f Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Fri, 4 Jun 2021 20:14:56 +0200 Subject: [PATCH] Fixed example 02_drop. --- ui/examples/02_drop/drop.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/examples/02_drop/drop.go b/ui/examples/02_drop/drop.go index 91b5d06..5a288e9 100644 --- a/ui/examples/02_drop/drop.go +++ b/ui/examples/02_drop/drop.go @@ -69,7 +69,6 @@ func newCircle() ui.ImageSource { func (d *dropFiles) Init(ctx ui.Context) error { d.ctx = ctx - drop.Register(d) _, err := ctx.Fonts().CreateFontPath("default", "../resources/font/OpenSans-Regular.ttf", 14) if err != nil {