Compare commits

..

No commits in common. "be7356d0371fc4e34a67c96bfb44f41d54cc1f3b" and "6839870055b67b0f90a49d43a3970be25a051205" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -12,10 +12,6 @@ type DisplayDragEnterEvent struct {
Files []string
}
func (e DisplayDragEnterEvent) Pos() geom.PointF32 {
return geom.PtF32(e.X, e.Y)
}
type DisplayDragLeaveEvent struct {
EventBase
}
@ -25,10 +21,6 @@ type DisplayDragMoveEnter struct {
X, Y float32
}
func (e DisplayDragMoveEnter) Pos() geom.PointF32 {
return geom.PtF32(e.X, e.Y)
}
type DisplayDropEvent struct {
EventBase
X, Y float32

View File

@ -69,6 +69,7 @@ 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 {