From 5e4afbe038eb40f24aa725e16332f8bb000d8f8e Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Mon, 9 Aug 2021 11:13:20 +0200 Subject: [PATCH] Removed drop dependency from allg5ui renderer. --- allg5ui/renderer.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/allg5ui/renderer.go b/allg5ui/renderer.go index f19536f..5a31023 100644 --- a/allg5ui/renderer.go +++ b/allg5ui/renderer.go @@ -10,7 +10,6 @@ import ( "opslag.de/schobers/allg5" "opslag.de/schobers/geom" - "opslag.de/schobers/zntg/addons/drop" "opslag.de/schobers/zntg/ui" ) @@ -48,11 +47,6 @@ func NewRenderer(w, h int, opts allg5.NewDisplayOptions) (*Renderer, error) { }) clean = nil - if ui.DefaultDragDropProvider != nil { - // make sure we fall back on simple drop (OLE implementation doesn't seem to work, reason unknown yet). - drop.RegisterAsDefaultProvider() - } - return &Renderer{disp, eq, nil, user, &ui.OSResources{}, dispPos(disp), ui.KeyState{}, ui.KeyModifierNone, ui.MouseCursorDefault}, nil }