Compare commits

..

1 Commits

Author SHA1 Message Date
be7356d037 Added Pos methods to DisplayDrag{Enter,Move}Event. 2021-06-07 07:48:24 +02:00

View File

@ -20,12 +20,12 @@ type DisplayDragLeaveEvent struct {
EventBase
}
type DisplayDragMoveEvent struct {
type DisplayDragMoveEnter struct {
EventBase
X, Y float32
}
func (e DisplayDragMoveEvent) Pos() geom.PointF32 {
func (e DisplayDragMoveEnter) Pos() geom.PointF32 {
return geom.PtF32(e.X, e.Y)
}