Removed drop dependency from allg5ui renderer.

This commit is contained in:
Sander Schobers 2021-08-09 11:13:20 +02:00
parent 98a75206bc
commit 5e4afbe038

View File

@ -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
}