Browse Source

Removed drop dependency from allg5ui renderer.

master
Sander Schobers 1 year ago
parent
commit
5e4afbe038
  1. 6
      allg5ui/renderer.go

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

Loading…
Cancel
Save